Re: [PATCH 3/6] gpio: sch311x: Use devm_gpiochip_add_data() to simplify remove path
From: Bartosz Golaszewski
Date: Wed Mar 08 2023 - 05:25:02 EST
On Tue, Mar 7, 2023 at 5:54 PM Andrew Davis <afd@xxxxxx> wrote:
>
> Use devm version of gpiochip add function to handle removal for us.
>
> Signed-off-by: Andrew Davis <afd@xxxxxx>
> ---
> drivers/gpio/gpio-sch311x.c | 25 ++-----------------------
> 1 file changed, 2 insertions(+), 23 deletions(-)
>
Applied, thanks!
Bart