gpio: janz-ttl: Use devm_gpiochip_add_data() for gpio registration
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 22 Feb 2016 12:13:28 +0000 (17:43 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Tue, 23 Feb 2016 15:05:33 +0000 (20:35 +0530)
commitabeb3f40295f5631053b73c1e5c03c00b8890e57
tree2bb98be504452d273117309fb9d3bb7425575fe1
parent0c638759bf92bab251fb1a1999f5deff3423d7ab
gpio: janz-ttl: Use devm_gpiochip_add_data() for gpio registration

Use devm_gpiochip_add_data() for GPIO registration and remove the
need of driver callback .remove.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/gpio/gpio-janz-ttl.c