]> git.karo-electronics.de Git - linux-beck.git/commit
clk: sunxi: mod0: Use new macro CLK_OF_DECLARE_DRIVER
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 5 Jul 2016 16:23:28 +0000 (18:23 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 13 Aug 2016 01:01:20 +0000 (18:01 -0700)
commitcb1291c3fdf0c3ffe3eba92a52e6c5362f2aaf6e
treedfef9c54a072edd404898eaa8b381d60f5205af4
parent9a0c42d216a6abef3b3637f9ceaac26e5f50a6a0
clk: sunxi: mod0: Use new macro CLK_OF_DECLARE_DRIVER

This driver initializes a clock provider via sun4i_a10_mod0_setup
and then continues the initialization on sun4i_a10_mod0_clk_probe.

Use the new macro to notify the clk subsystem about this behaviour.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/sunxi/clk-mod0.c