On Thu, Apr 22, 2021 at 08:57:25AM +0200, Uwe Kleine-König wrote: > devm_clk_get_enabled() returns the clk already (prepared and) enabled > and the automatically called cleanup cares for disabling (and > unpreparing). So simplify .probe() and .remove() accordingly. > > Acked-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> > Acked-by: Wolfram Sang <wsa@xxxxxxxxxx> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> A propos typos: This patch needs $Subject ~= s/enableded/enabled/ Will fix this for the next submission round. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature