]> git.ipfire.org Git - thirdparty/u-boot.git/commit
clk: mediatek: refactor duplicate *_mux_get_rate()
authorDavid Lechner <dlechner@baylibre.com>
Tue, 17 Mar 2026 23:23:29 +0000 (18:23 -0500)
committerDavid Lechner <dlechner@baylibre.com>
Tue, 24 Mar 2026 14:34:48 +0000 (09:34 -0500)
commit256499eebf4fe81d1d7ea5b5899ff201d38296fd
tree40ed3a71a94edb697ea807f6ec5875f1cc25385b
parent84c89c25291eb6a6afa131c27a324fc456861e59
clk: mediatek: refactor duplicate *_mux_get_rate()

Refactor two identical functions for getting mux clock rates. The
functions are renamed and moved to the section of the code that contains
other common functions.

Reviewed-by: Julien Stephan <jstephan@baylibre.com>
Link: https://patch.msgid.link/20260317-clk-mtk-unify-mux-parents-v3-16-a4760f5b0a80@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
drivers/clk/mediatek/clk-mtk.c