]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: starfive: jh7110-pll: Mark the probe function as __init
authorChanghuang Liang <changhuang.liang@starfivetech.com>
Tue, 29 Oct 2024 03:28:28 +0000 (20:28 -0700)
committerStephen Boyd <sboyd@kernel.org>
Wed, 30 Oct 2024 20:23:51 +0000 (13:23 -0700)
commitdedceb2be8b4342c35967d5d47223631ef5d2eab
treee6767d28f49d2dc8f95026a311537e792d943f5b
parent00f8f70a0e8c6601861628be26270a0b6f4bbb34
clk: starfive: jh7110-pll: Mark the probe function as __init

Mark the jh7110_pll_probe function as __init.

There's no need to support hotplugging in the jh7110-pll driver. We use
builtin_platform_driver_probe, the probe function will only be called at
startup.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Link: https://lore.kernel.org/r/20241029032828.238706-1-changhuang.liang@starfivetech.com
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Reviewed-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/starfive/clk-starfive-jh7110-pll.c