summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-adp5520.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-02-22 17:43:28 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2016-02-23 20:19:46 +0530
commitdaa994bfe22ed690fb8e377c43faf7e16aad59da (patch)
treec18a06fe89820b5a99d6802950fe1e6061d0266c /drivers/gpio/gpio-adp5520.c
parenta718ed2cfed0faba89b4bb9fa9f1ab5957891de9 (diff)
downloadlwn-daa994bfe22ed690fb8e377c43faf7e16aad59da.tar.gz
lwn-daa994bfe22ed690fb8e377c43faf7e16aad59da.zip
gpio: adnp: Use devm_gpiochip_add_data() for gpio registration
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 <ldewangan@nvidia.com> Cc: Alexandre Courbot <gnurou@gmail.com>
Diffstat (limited to 'drivers/gpio/gpio-adp5520.c')
0 files changed, 0 insertions, 0 deletions