clk: hisilicon: hi3559a: Drop __init markings everywhere
authorStephen Boyd <sboyd@kernel.org>
Wed, 30 Jun 2021 18:58:39 +0000 (11:58 -0700)
committerStephen Boyd <sboyd@kernel.org>
Wed, 30 Jun 2021 18:59:45 +0000 (11:59 -0700)
commit498cc50b3fa99b545532dc433d53d3c0b889cc98
treea2a77e34efa8170b1ce4a07d8ba088876c4ec909
parente4c5ef6b9584a861210cf92955b7c8b1727688b9
clk: hisilicon: hi3559a: Drop __init markings everywhere

This driver is a platform driver. The probe function can be called after
kernel init, and try to reference kernel memory that has been freed.
Drop the __init markings everywhere here to avoid referencing initdata
from non-init code. Fixes modpost warnings.

Reported-by: kernel test robot <lkp@intel.com>
Cc: Dongjiu Geng <gengdongjiu@huawei.com>
Fixes: 6c81966107dc ("clk: hisilicon: Add clock driver for hi3559A SoC")
Link: https://lore.kernel.org/r/20210630185839.3680834-1-sboyd@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/hisilicon/clk-hi3559a.c