]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tps65912: 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:48 +0000 (20:35 +0530)
commitebd6898fcf2f2138e7e98a13742cb531a7ae4bd6
treeeee1605cf83bfdf3d18ee9e0eb8db641dc021dfe
parent127fb329c6ba4406c62861c38acbe4e34bea2924
gpio: tps65912: 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-tps65912.c