clk: sunxi: apb0: Use new macro CLK_OF_DECLARE_DRIVER
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 5 Jul 2016 16:23:30 +0000 (18:23 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 13 Aug 2016 01:01:50 +0000 (18:01 -0700)
commit915128b621a05c63fa58ca9e4cbdf394bbe592f3
treee27b795be8f73d18efdf94e5580f87bbfd619378
parentcb1291c3fdf0c3ffe3eba92a52e6c5362f2aaf6e
clk: sunxi: apb0: Use new macro CLK_OF_DECLARE_DRIVER

This driver initializes a clock provider via sun8i_a23_apb0_setup
and then continues the initialization on sun8i_a23_apb0_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-sun8i-apb0.c