Fix some whitespace format issues

This commit is contained in:
Christoffer Sandberg 2021-09-18 00:13:42 +02:00
parent f8bd16ca68
commit ea720826e8
3 changed files with 11 additions and 11 deletions

View file

@ -288,7 +288,7 @@ static long uniwill_ioctl_interface(struct file *file, unsigned int cmd, unsigne
uniwill_write_ec_ram(0x0741, argument & 0x01); uniwill_write_ec_ram(0x0741, argument & 0x01);
*/ */
break; break;
case W_UW_FANAUTO: case W_UW_FANAUTO:
uw_set_fan_auto(); uw_set_fan_auto();
break; break;
#ifdef DEBUG #ifdef DEBUG
@ -348,8 +348,8 @@ static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
static struct file_operations fops_dev = { static struct file_operations fops_dev = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.unlocked_ioctl = fop_ioctl .unlocked_ioctl = fop_ioctl
// .open = fop_open, // .open = fop_open,
// .release = fop_release // .release = fop_release
}; };
struct class *tuxedo_io_device_class; struct class *tuxedo_io_device_class;

View file

@ -21,13 +21,13 @@
#include <linux/types.h> #include <linux/types.h>
#define UNIWILL_WMI_MGMT_GUID_BA "ABBC0F6D-8EA1-11D1-00A0-C90629100000" #define UNIWILL_WMI_MGMT_GUID_BA "ABBC0F6D-8EA1-11D1-00A0-C90629100000"
#define UNIWILL_WMI_MGMT_GUID_BB "ABBC0F6E-8EA1-11D1-00A0-C90629100000" #define UNIWILL_WMI_MGMT_GUID_BB "ABBC0F6E-8EA1-11D1-00A0-C90629100000"
#define UNIWILL_WMI_MGMT_GUID_BC "ABBC0F6F-8EA1-11D1-00A0-C90629100000" #define UNIWILL_WMI_MGMT_GUID_BC "ABBC0F6F-8EA1-11D1-00A0-C90629100000"
#define UNIWILL_WMI_EVENT_GUID_0 "ABBC0F70-8EA1-11D1-00A0-C90629100000" #define UNIWILL_WMI_EVENT_GUID_0 "ABBC0F70-8EA1-11D1-00A0-C90629100000"
#define UNIWILL_WMI_EVENT_GUID_1 "ABBC0F71-8EA1-11D1-00A0-C90629100000" #define UNIWILL_WMI_EVENT_GUID_1 "ABBC0F71-8EA1-11D1-00A0-C90629100000"
#define UNIWILL_WMI_EVENT_GUID_2 "ABBC0F72-8EA1-11D1-00A0-C90629100000" #define UNIWILL_WMI_EVENT_GUID_2 "ABBC0F72-8EA1-11D1-00A0-C90629100000"
#define MODULE_ALIAS_UNIWILL_WMI() \ #define MODULE_ALIAS_UNIWILL_WMI() \
MODULE_ALIAS("wmi:" UNIWILL_WMI_EVENT_GUID_2); \ MODULE_ALIAS("wmi:" UNIWILL_WMI_EVENT_GUID_2); \

View file

@ -210,7 +210,7 @@ static int keyboard_notifier_callb(struct notifier_block *nb, unsigned long code
} }
static struct notifier_block keyboard_notifier_block = { static struct notifier_block keyboard_notifier_block = {
.notifier_call = keyboard_notifier_callb .notifier_call = keyboard_notifier_callb
}; };
static u8 uniwill_read_kbd_bl_enabled(void) static u8 uniwill_read_kbd_bl_enabled(void)
@ -736,7 +736,7 @@ static int uw_lightbar_init(struct platform_device *dev)
|| dmi_match(DMI_PRODUCT_NAME, "A60 MUV") || dmi_match(DMI_PRODUCT_NAME, "A60 MUV")
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0)
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI03") || dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI03")
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XA03") || dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XA03")
#endif #endif
; ;