diff options
| author | Axel Lin <[email protected]> | 2016-03-09 12:38:55 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-03-30 08:39:39 +0000 |
| commit | fd975a7b180c9a8f6e02d2251eaabe9b0dcfeed6 (patch) | |
| tree | 8e0446439d1467ea8ca1e37301fa037363630f72 /drivers/misc/ibmasm/ibmasmfs.c | |
| parent | Linux 4.6-rc1 (diff) | |
| download | kernel-fd975a7b180c9a8f6e02d2251eaabe9b0dcfeed6.tar.gz kernel-fd975a7b180c9a8f6e02d2251eaabe9b0dcfeed6.zip | |
gpio: menz127: Drop lock field from struct men_z127_gpio
Current code uses a uninitialized spin lock.
bgpio_init() already initialized a spin lock, so let's switch to use
&gc->bgpio_lock instead and remove the lock from struct men_z127_gpio.
Fixes: f436bc2726c6 "gpio: add driver for MEN 16Z127 GPIO controller"
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm/ibmasmfs.c')
0 files changed, 0 insertions, 0 deletions
