[PATCH 1/2] watchdog: s3c2410_wdt: Use Use devm_clk_get[_optional]_enabled() helpers
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Sun Apr 23 01:08:24 PDT 2023
On Sat, Apr 22, 2023 at 01:22:29PM +0200, Wim Van Sebroeck wrote:
> Hi Uwe,
>
> > Hello,
> >
> > On Mon, Mar 06, 2023 at 10:10:48AM +0100, Uwe Kleine-König wrote:
> > > On Sat, Mar 04, 2023 at 08:56:52AM -0800, Guenter Roeck wrote:
> > > > The devm_clk_get[_optional]_enabled() helpers:
> > > > - call devm_clk_get[_optional]()
> > > > - call clk_prepare_enable() and register what is needed in order to
> > > > call clk_disable_unprepare() when needed, as a managed resource.
> > > >
> > > > This simplifies the code and avoids the calls to clk_disable_unprepare().
> > > >
> > > > While at it, use dev_err_probe consistently, and use its return value
> > > > to return the error code.
> > > >
> > > > Cc: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> > > > Signed-off-by: Guenter Roeck <linux at roeck-us.net>
> > >
> > > Reviewed-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> >
> > This patch is in next now as b05a2e58c16c47f3d752b7db1714ef077e5b82d9.
> > My name occurs twice in the tag area, once it is mangled as
> >
> > Uwe Kleine-K=F6nig
> >
> > I would welcome fixing that (i.e. s/=F6/ö/). When this commit is
> > touched, you can also do s/Use Use/Use/ in the Subject.
>
> Fixed.
Looking at the output of
git range-diff b05a2e58c16c47f3d752b7db1714ef077e5b82d9...9b31b1ea125ca2e734ae89badc0c3073b4445842
it looks good to me now.
Thanks
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230423/ad77b78c/attachment.sig>
More information about the linux-arm-kernel
mailing list