]> git.karo-electronics.de Git - linux-beck.git/commit
gpio: mc9s08dz60: 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:36 +0000 (20:35 +0530)
commit7d645df05a0e5857ad258c119a5360078d8c2445
tree6b67d6d4b93167788e3ab65f2754943a345d0a52
parentefa3ffcd98f39617a3962b93d88326bb76b42462
gpio: mc9s08dz60: 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-mc9s08dz60.c