drivers: base: power: clock_ops: Use of_clk_get_parent_count()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 27 May 2019 12:05:35 +0000 (20:05 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 May 2019 17:38:47 +0000 (19:38 +0200)
commit7e186d9de9290d57c90751ea252135f425f49e6e
tree565871b9b97d464271bb05a20e5812689d719252
parentcd6c84d8f0cdc911df435bb075ba22ce3c605b07
drivers: base: power: clock_ops: Use of_clk_get_parent_count()

Use of_clk_get_parent_count() instead of open coding.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/clock_ops.c