Re: [PATCH 3/6] gpio: sch311x: Use devm_gpiochip_add_data() to simplify remove path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/8/23 4:32 AM, Bartosz Golaszewski wrote:
On Wed, Mar 8, 2023 at 11:24 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

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

I see there's v2 out, backing it out then.


Looks like I missed something that kernel test robot found, so there
will be a v3.

Andrew



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux