rockchip: clk: guard set_parent implementations against OF_PLATDATA
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 25 Jan 2018 14:27:10 +0000 (15:27 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:39 +0000 (17:12 +0100)
commit75b381aae8dd5fbc3c6b3f453dc3ca9ce3c94ab4
treea1d5821776a9abd2920dbb1dbdbd99047039fea9
parent64a12202ed113c4696c0f4b6c3d6a35d97383851
rockchip: clk: guard set_parent implementations against OF_PLATDATA

The set_parent implementations do not make sense when OF_PLATDATA is
enabled.  We guard these against OF_PLATDATA and don't populate the
set_parent-op when this is the case.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/rockchip/clk_rk3368.c
drivers/clk/rockchip/clk_rk3399.c