[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYJVtCwVJ8H2AxY1keVFZMvGnPjBCOvqnfhSCUx3Qb+tA@mail.gmail.com>
Date: Thu, 17 Oct 2024 15:12:05 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH] gpio: ftgpio010: shrink code
On Thu, Oct 17, 2024 at 2:30 PM Bartosz Golaszewski <brgl@...ev.pl> wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
>
> Use devm_clk_get_enabled() to drop the goto label from probe() and the
> entire remove() callback. Drop platform_set_drvdata() as it's no longer
> needed. Drop log noise on success.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists