Staging: samsung-laptop: fix coding style issues
PATCH 2/2 Staging: samsung-laptop: fix coding style issues
From: Chihau Chau <[email protected]>
This fixes some lines over 80 characters coding style issues
Signed-off-by Chihau Chau <[email protected]>
--- drivers/staging/samsung-laptop/samsung-laptop.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-)
drivers/staging/samsung-laptop/samsung-laptop.c +6 -3
@@ -99,7 +99,8 @@ static struct rfkill *rfk;static int force;module_param (force, bool,0 ); -MODULE_PARM_DESC (force,"Disable the DMI check and forces the driver to be loaded" ); +MODULE_PARM_DESC (force,"Disable the DMI check and forces the driver to be " +"loaded" );static int debug;module_param (debug, bool,S_IRUGO |S_IWUSR );
@@ -370,7 +371,8 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = { { .ident = "N128", .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"SAMSUNG ELECTRONICS CO., LTD." ), +DMI_MATCH (DMI_SYS_VENDOR , +"SAMSUNG ELECTRONICS CO., LTD." ),DMI_MATCH (DMI_PRODUCT_NAME ,"N128" ), DMI_MATCH(DMI_BOARD_NAME, "N128"), },
@@ -379,7 +381,8 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = { { .ident = "N130", .matches = { -DMI_MATCH (DMI_SYS_VENDOR ,"SAMSUNG ELECTRONICS CO., LTD." ), +DMI_MATCH (DMI_SYS_VENDOR , +"SAMSUNG ELECTRONICS CO., LTD." ),DMI_MATCH (DMI_PRODUCT_NAME ,"N130" ), DMI_MATCH(DMI_BOARD_NAME, "N130"), },
Signature · 1 line
1.5.6.3
Quoted 14 lines · Chihau Chau
From: Chihau Chau <[email protected]>
This fixes some lines over 80 characters coding style issues
Signed-off-by Chihau Chau <[email protected]>--- drivers/staging/samsung-laptop/samsung-laptop.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-)drivers/staging/samsung-laptop/samsung-laptop.c +0
-0
drivers/staging/samsung-laptop/samsung-laptop.c static struct rfkill *rfk; · line 103
Quoted 6 lines
drivers/staging/samsung-laptop/samsung-laptop.c +2
-1@@ -99,7 +99,8 @@ static struct rfkill *rfk;static int force;module_param (force, bool,0 ); -MODULE_PARM_DESC (force,"Disable the DMI check and forces the driver to be loaded" ); +MODULE_PARM_DESC (force,"Disable the DMI check and forces the driver to be " +"loaded" );
Um, care to move the whole string down one line to make it nicer to look at?
drivers/staging/samsung-laptop/samsung-laptop.c static struct dmi_system_id __initdata samsung_dmi_table[] = { · line 375
Quoted 9 lines
drivers/staging/samsung-laptop/samsung-laptop.c +2
-1static int debug;module_param (debug, bool,S_IRUGO |S_IWUSR );@@ -370,7 +371,8 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = { { .ident = "N128", .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), +DMI_MATCH (DMI_SYS_VENDOR , + "SAMSUNG ELECTRONICS CO., LTD."),
Like this, what you did here was fine, can you do this above as well and resubmit the whole thing to me so I can apply it?
thanks,
greg k-h