linux-uconsole/include/linux/gpio
Laxman Dewangan 6f49ad54ab UPSTREAM: gpio: Add devm_ apis for gpiochip_add_data and gpiochip_remove
Add device managed APIs devm_gpiochip_add_data() and
devm_gpiochip_remove() for the APIs gpiochip_add_data()
and gpiochip_remove().

This helps in reducing code in error path and sometimes
removal of .remove callback for driver unbind.

Change-Id: I84e3336b05d0c0e82170d16cdae8977c9f962942
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit 0cf3292cde)
2018-02-28 14:55:00 +08:00
..
consumer.h gpio: keep the GPIO line names internal 2015-09-24 10:48:53 -07:00
driver.h UPSTREAM: gpio: Add devm_ apis for gpiochip_add_data and gpiochip_remove 2018-02-28 14:55:00 +08:00
machine.h gpiolib: Add support for removing registered consumer lookup table 2015-07-21 09:21:40 +02:00