summaryrefslogtreecommitdiff
path: root/drivers/clk/rockchip/clk-inverter.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/rockchip/clk-inverter.c')
-rw-r--r--drivers/clk/rockchip/clk-inverter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/rockchip/clk-inverter.c b/drivers/clk/rockchip/clk-inverter.c
index 8054fdb5effb..7cbf43beb3c6 100644
--- a/drivers/clk/rockchip/clk-inverter.c
+++ b/drivers/clk/rockchip/clk-inverter.c
@@ -50,7 +50,7 @@ static int rockchip_inv_set_phase(struct clk_hw *hw, int degrees)
val = !!degrees;
} else {
pr_err("%s: unsupported phase %d for %s\n",
- __func__, degrees, __clk_get_name(hw->clk));
+ __func__, degrees, clk_hw_get_name(hw));
return -EINVAL;
}