diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-03-09 20:38:55 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-03-30 10:39:39 +0200 |
commit | fd975a7b180c9a8f6e02d2251eaabe9b0dcfeed6 (patch) | |
tree | 8e0446439d1467ea8ca1e37301fa037363630f72 /drivers/media/pci/ivtv/ivtv-gpio.c | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
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 <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/media/pci/ivtv/ivtv-gpio.c')
0 files changed, 0 insertions, 0 deletions