diff options
| author | David Lechner <[email protected]> | 2026-03-03 13:54:50 -0600 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-03-17 16:34:35 -0500 |
| commit | 00d0ff7f81bfdf341a06fa4b476b669236986d45 (patch) | |
| tree | 45954dfb9c4440cc56a2d29c6ff8f1fc497bd2e8 /include/linux/stringify.h | |
| parent | 5d247265812cd60d5d92c9c7fcc5fd5834c21259 (diff) | |
clk: mediatek: refactor parent rate lookup functions
Refactor duplicate parent rate lookup code into a common function.
Instead of relying on rules like X is always the parent of Y, we use
the driver ops pointer to make sure we are actually getting the correct
parent clock device. This allows the same function to be called from
different clock types and will allow future chip-specific clock drivers
to not have to follow the rules as strictly.
Reviewed-by: Julien Stephan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
