[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMRc=MdM7JMVBRPHUhmYURcu7D9dpBH6d+=9yCiTNtwpTxHpNQ@mail.gmail.com>
Date: Sun, 28 Aug 2022 15:59:24 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Bamvor Jian Zhang <bamv2005@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] gpio: mockup: remove gpio debugfs when remove device
On Mon, Aug 22, 2022 at 5:52 AM Wei Yongjun <weiyongjun1@...wei.com> wrote:
>
> GPIO mockup debugfs is created in gpio_mockup_probe() but
> forgot to remove when remove device. This patch add a devm
> managed callback for removing them.
>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
> ---
> v1 -> v2: return from devm_add_xx directly as Bartosz's suggestion
Applied, thanks!
Bart
Powered by blists - more mailing lists