regulator: Make clkin_name and xin_name static
PATCH 1/1 regulator: Make clkin_name and xin_name static
clkin_name and xin_name is not referred elsewhere, so make them static.
Signed-off-by GUO Zihua <[email protected]>
--- drivers/regulator/raa215300.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/regulator/raa215300.c +2 -2
@@ -38,8 +38,8 @@#define RAA215300_REG_BLOCK_EN_RTC_EN BIT(6)#define RAA215300_RTC_DEFAULT_ADDR 0x6f -const char *clkin_name ="clkin" ; -const char *xin_name ="xin" ; +static const char *clkin_name ="clkin" ; +static const char *xin_name ="xin" ;static struct clk *clk;static const struct regmap_config raa215300_regmap_config = {
Signature · 1 line
2.17.1
Mark Brown
maintainerQuoted 3 lines · GUO Zihua
clkin_nameandxin_nameis not referred elsewhere, so make them static.Signed-off-by GUO Zihua <[email protected]>
This doesn't apply against current code, please check and resend.
Quoted 6 lines · Mark Brown
Quoted 3 lines · GUO Zihua
clkin_nameandxin_nameis not referred elsewhere, so make them static.Signed-off-by GUO Zihua <[email protected]>This doesn't apply against current code, please check and resend.
Hi Mark,
I re-made the patch against the latest master and sent a v2, Thanks!
Signature · 2 lines
Best GUO Zihua