gpio: mm-lantiq: Do not use gpiochip_get_data() in ltq_mm_save_regs()
authorGuenter Roeck <linux@roeck-us.net>
Thu, 7 Jan 2016 16:24:58 +0000 (08:24 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Jan 2016 09:21:06 +0000 (10:21 +0100)
commit95c761705ef5c2f094c56c4b779e74958246f2aa
tree1d02374c3a09f22bcd99876502dbf6a9c872be32
parenta02588a0efd6008f70ab69318ebacd79cbd3dc6b
gpio: mm-lantiq: Do not use gpiochip_get_data() in ltq_mm_save_regs()

Commit 6aa7dbfa2877 ("gpio: mm-lantiq: use gpiochip data pointer") replaces
the use of container_of() with gpiochip_get_data(). However, the data
pointer is not yet set by the time the save_regs function is called.

Fixes: 6aa7dbfa2877 ("gpio: mm-lantiq: use gpiochip data pointer")
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: John Crispin <blogic@openwrt.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mm-lantiq.c
This page took 0.03239 seconds and 5 git commands to generate.