platform/x86: asus-wmi: Join string literals back
PATCH 1/3 platform/x86: asus-wmi: Join string literals back
For easy grepping on debug purposes join string literals back in the messages.
No functional change.
--- drivers/platform/x86/asus-wmi.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/platform/x86/asus-wmi.c +2 -4
@@ -1154,12 +1154,10 @@ static void asus_rfkill_hotplug(struct asus_wmi *asus) absent = (l ==0xffffffff );if (blocked != absent) { -pr_warn ("BIOS says wireless lan is %s, " -"but the pci device is %s\n" , +pr_warn ("BIOS says wireless lan is %s, but the pci device is %s\n" , blocked ?"blocked" :"unblocked" , absent ?"absent" :"present" ); -pr_warn ("skipped wireless hotplug as probably " -"inappropriate for this model\n" ); +pr_warn ("skipped wireless hotplug as probably inappropriate for this model\n" ); goto out_unlock; }
Signature · 1 line
2.33.0
PATCH 2/3 platform/x86: asus-wmi: Split MODULE_AUTHOR() on per author basis
There are as many as needed MODULE_AUTHOR() macro entries allowed in the single driver. Split author list to a few macro entries.
--- drivers/platform/x86/asus-wmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/asus-wmi.c +2 -2
@@ -43,8 +43,8 @@#include "asus-wmi.h" -MODULE_AUTHOR ("Corentin Chary <[email protected]>, " -"Yong Wang <[email protected]>" ); +MODULE_AUTHOR ("Corentin Chary <[email protected]>" ); +MODULE_AUTHOR ("Yong Wang <[email protected]>" );MODULE_DESCRIPTION ("Asus Generic WMI Driver" );MODULE_LICENSE ("GPL" );
Signature · 1 line
2.33.0
PATCH 3/3 platform/x86: asus-wmi: Reshuffle headers for better maintenance
In reply to Andy ShevchenkoReshuffle headers in alphabetical order for better maintenance.
--- drivers/platform/x86/asus-wmi.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-)
drivers/platform/x86/asus-wmi.c +14 -14
@@ -13,29 +13,29 @@#define pr_fmt (fmt) KBUILD_MODNAME ": " fmt -#include <linux/kernel.h> -#include <linux/module.h> +#include <linux/acpi.h> +#include <linux/backlight.h> +#include <linux/debugfs.h> +#include <linux/dmi.h> +#include <linux/fb.h> +#include <linux/hwmon.h> +#include <linux/hwmon-sysfs.h> #include <linux/init.h> -#include <linux/types.h> -#include <linux/slab.h> #include <linux/input.h> #include <linux/input/sparse-keymap.h> -#include <linux/fb.h> -#include <linux/backlight.h> +#include <linux/kernel.h> #include <linux/leds.h> -#include <linux/rfkill.h> +#include <linux/module.h> #include <linux/pci.h> #include <linux/pci_hotplug.h> +#include <linux/platform_data/x86/asus-wmi.h> +#include <linux/platform_device.h> #include <linux/platform_profile.h> #include <linux/power_supply.h> -#include <linux/hwmon.h> -#include <linux/hwmon-sysfs.h> -#include <linux/debugfs.h> +#include <linux/rfkill.h> #include <linux/seq_file.h> -#include <linux/platform_data/x86/asus-wmi.h> -#include <linux/platform_device.h> -#include <linux/acpi.h> -#include <linux/dmi.h> +#include <linux/slab.h> +#include <linux/types.h> #include <linux/units.h> #include <acpi/battery.h>
Signature · 1 line
2.33.0
Quoted 4 lines · Andy Shevchenko
For easy grepping on debug purposes join string literals back in the messages.
No functional change.
Hans, any comments on the series?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Hi,
Quoted 7 lines · Andy Shevchenko
Quoted 4 lines · Andy Shevchenko
For easy grepping on debug purposes join string literals back in the messages.
No functional change.
Hans, any comments on the series?
No comments, the series looks good to me. I plan to another round of merging pdx86 patches tomorrow and then I plan to pick these up too.
Regards,
Hans
Quoted 11 lines · Hans de Goede
Quoted 7 lines · Andy Shevchenko
Quoted 4 lines · Andy Shevchenko
For easy grepping on debug purposes join string literals back in the messages.
No functional change.
Hans, any comments on the series?
No comments, the series looks good to me. I plan to another round of merging pdx86 patches tomorrow and then I plan to pick these up too.
Thanks for good news!
Signature · 2 lines
With Best Regards, Andy Shevchenko
Hi,
Quoted 6 lines · Andy Shevchenko
For easy grepping on debug purposes join string literals back in the messages.
No functional change.
Signed-off-by Andy Shevchenko <[email protected]>
Thank you for your patch-series, I've applied the series 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 24 lines
--- drivers/platform/x86/asus-wmi.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/platform/x86/asus-wmi.c +2
-4@@ -1154,12 +1154,10 @@ static void asus_rfkill_hotplug(struct asus_wmi *asus) absent = (l ==0xffffffff );if (blocked != absent) { -pr_warn ("BIOS says wireless lan is %s, " -"but the pci device is %s\n" , +pr_warn ("BIOS says wireless lan is %s, but the pci device is %s\n" , blocked ?"blocked" :"unblocked" , absent ?"absent" :"present" ); -pr_warn ("skipped wireless hotplug as probably " -"inappropriate for this model\n" ); +pr_warn ("skipped wireless hotplug as probably inappropriate for this model\n" ); goto out_unlock; }