clk: nxp: Use new macro CLK_OF_DECLARE_DRIVER
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 5 Jul 2016 16:23:27 +0000 (18:23 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 13 Aug 2016 01:00:48 +0000 (18:00 -0700)
commit9a0c42d216a6abef3b3637f9ceaac26e5f50a6a0
tree4a45640844519806685f70e006a7c3a7d6839e85
parentaa8d7122609dbd6e18ce270e94b9880a7c97cc9b
clk: nxp: Use new macro CLK_OF_DECLARE_DRIVER

This driver initializes a clock provider via lpc18xx_creg_clk_init
and then continues the initialization on lpc18xx_creg_clk_probe.

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

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
[sboyd@codeaurora.org: s/npx/nxp/ in subject]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/nxp/clk-lpc18xx-creg.c