lkml.org 
[lkml]   [2022]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [RESEND PATCH v6 7/8] clk: mediatek: clk-apmixed: Add helper function to unregister ref2usb_tx
    On Wed, Sep 21, 2022 at 5:15 PM AngeloGioacchino Del Regno
    <angelogioacchino.delregno@collabora.com> wrote:
    >
    > 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>

    \
     
     \ /
      Last update: 2022-09-26 05:03    [W:2.364 / U:1.268 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site