On 02/22/2016 03:07 PM, Laxman Dewangan wrote:
Use devm_gpiochip_add_data() for GPIO registration and remove the
call for gpiochip_remove() from error path.
Also remove the need of driver callback .remove.
Signed-off-by: Laxman Dewangan
Acked-by: Michael Hennerich
Cc: Michael Hennerich
-
Use devm_gpiochip_add_data() for GPIO registration and remove the
call for gpiochip_remove() from error path.
Also remove the need of driver callback .remove.
Signed-off-by: Laxman Dewangan
Cc: Michael Hennerich
---
drivers/gpio/gpio-adp5520.c | 13 +
1 file changed, 1 insertion(+)
2 matches
Mail list logo