[PATCH 1/5] clk: sunxi: Make clocks setup functions return their clock

Maxime Ripard maxime.ripard at free-electrons.com
Thu Feb 4 04:07:38 PST 2016


On Tue, Feb 02, 2016 at 09:47:10AM +0100, Maxime Ripard wrote:
> The clocks registration code in clk-sunxi was most of the time not
> returning the struct clk (or struct clk array) that was registered,
> preventing the users of such functions to manipulate it, for example to
> protect it.
> 
> Make them return it so that we can start using it.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>

After discussing it with Chen-Yu on IRC, the error logging will be
done as a subsequent patch.

Applied.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160204/72a9f1ac/attachment.sig>


More information about the linux-arm-kernel mailing list