diff options
| author | 2022-09-21 11:14:54 +0200 | |
|---|---|---|
| committer | 2022-09-26 11:13:09 +0800 | |
| commit | b7520e2d4ed18af69d4da44ab3c61c62dbf84c8c (patch) | |
| tree | 451084901097f0d62efd5be2de78b304b2ec96b9 /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | clk: mediatek: Export required symbols to compile clk drivers as module (diff) | |
| download | linux-dev-b7520e2d4ed18af69d4da44ab3c61c62dbf84c8c.tar.xz linux-dev-b7520e2d4ed18af69d4da44ab3c61c62dbf84c8c.zip | |
clk: mediatek: clk-apmixed: Add helper function to unregister ref2usb_tx
The ref2usb_tx clock was introduced a long time ago and, at that time,
the MediaTek clock drivers were using CLK_OF_DECLARE, so they would
never unregister.
Nowadays, unregistering clock drivers is a thing, as we're registering
them as platform_driver and allowing them to be kernel modules: add a
helper function to cleanup the ref2usb_tx clock during error handling
and upon module removal.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20220921091455.41327-8-angelogioacchino.delregno@collabora.com
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
