clk: meson: meson8b: use clk_hw_set_parent in the CPU clock notifier
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 17 Nov 2019 13:59:24 +0000 (14:59 +0100)
committerJerome Brunet <jbrunet@baylibre.com>
Wed, 11 Dec 2019 13:06:29 +0000 (14:06 +0100)
commit2accb4ee16bd166da4f22d1477ed4b6b422454e0
tree1fd6b733bf48b22af0fe0747bd30326dfedb1382
parent64aa7008e957a0a60f1ca3227d85ad1e507252cd
clk: meson: meson8b: use clk_hw_set_parent in the CPU clock notifier

Switch from clk_set_parent() to clk_hw_set_parent() now that we have a
way to configure a mux clock based on clk_hw pointers. This simplifies
the meson8b_cpu_clk_notifier_cb logic. No functional changes.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/meson8b.c