On Tuesday 16 February 2016 08:33 PM, Linus Walleij wrote:
On Mon, Feb 15, 2016 at 2:17 PM, Laxman Dewangan wrote:
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
On Tuesday 16 February 2016 08:33 PM, Linus Walleij wrote:
On Mon, Feb 15, 2016 at 2:17 PM, Laxman Dewangan wrote:
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
On Mon, Feb 15, 2016 at 2:17 PM, Laxman Dewangan wrote:
> 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
On Mon, Feb 15, 2016 at 2:17 PM, Laxman Dewangan wrote:
> 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
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.
Signed-off-by: Laxman Dewangan
---
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.
Signed-off-by: Laxman Dewangan
---
drivers/gpio/gpiolib.c
6 matches
Mail list logo