[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-clk
Subject:    Re: [PATCH v4 6/6] spi: davinci: Simplify using devm_clk_get_enabled()
From:       Mark Brown <broonie () kernel ! org>
Date:       2021-03-31 12:02:12
Message-ID: 20210331120212.GB4758 () sirena ! org ! uk
[Download RAW message or body]


On Tue, Mar 30, 2021 at 08:17:55PM +0200, Uwe Kleine-K=F6nig 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: Mark Brown <broonie@kernel.org>

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic