Skip to contentSkip to conversation

clk: x86: lpss-atom: Drop unneeded 'extern' in the header

PATCH In review Andy Shevchenko 3 participants 3 messages Dec 8, 2023 – Dec 11, 2023 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: x86: lpss-atom: Drop unneeded 'extern' in the header

'extern' for the functions is not needed, drop it.

---
 include/linux/platform_data/x86/clk-lpss.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/x86/clk-lpss.h +1 -1
index 41df326583f9..7f132029316a 100644
@@ -15,6 +15,6 @@ struct lpss_clk_data {
 	struct clk *clk;
 };
 
-extern int lpss_atom_clk_init(void);
+int lpss_atom_clk_init(void);
 
 #endif /* __CLK_LPSS_H */
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Andy Shevchenko

'extern' for the functions is not needed, drop it.

---
 include/linux/platform_data/x86/clk-lpss.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/x86/clk-lpss.h +0 -0
index 41df326583f9..7f132029316a 100644

include/linux/platform_data/x86/clk-lpss.h struct lpss_clk_data { · line 18

Quoted 5 lines
include/linux/platform_data/x86/clk-lpss.h +1 -1
@@ -15,6 +15,6 @@ struct lpss_clk_data {
 	struct clk *clk;
 };
 
-extern int lpss_atom_clk_init(void);
+int lpss_atom_clk_init(void);
Signature · 1 line
 i.
#2 lore raw
In reply to Andy Shevchenko

Hi,

Quoted 3 lines · Andy Shevchenko

'extern' for the functions is not needed, drop it.

Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.

Regards,

Hans

Quoted 16 lines
---
 include/linux/platform_data/x86/clk-lpss.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/x86/clk-lpss.h +1 -1
index 41df326583f9..7f132029316a 100644
@@ -15,6 +15,6 @@ struct lpss_clk_data {
 	struct clk *clk;
 };
 
-extern int lpss_atom_clk_init(void);
+int lpss_atom_clk_init(void);
 
 #endif /* __CLK_LPSS_H */