mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Fix some whitespace format issues
This commit is contained in:
parent
f8bd16ca68
commit
ea720826e8
|
@ -288,7 +288,7 @@ static long uniwill_ioctl_interface(struct file *file, unsigned int cmd, unsigne
|
|||
uniwill_write_ec_ram(0x0741, argument & 0x01);
|
||||
*/
|
||||
break;
|
||||
case W_UW_FANAUTO:
|
||||
case W_UW_FANAUTO:
|
||||
uw_set_fan_auto();
|
||||
break;
|
||||
#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 = {
|
||||
.owner = THIS_MODULE,
|
||||
.unlocked_ioctl = fop_ioctl
|
||||
// .open = fop_open,
|
||||
// .release = fop_release
|
||||
// .open = fop_open,
|
||||
// .release = fop_release
|
||||
};
|
||||
|
||||
struct class *tuxedo_io_device_class;
|
||||
|
|
|
@ -21,13 +21,13 @@
|
|||
|
||||
#include <linux/types.h>
|
||||
|
||||
#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_BC "ABBC0F6F-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_BC "ABBC0F6F-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_2 "ABBC0F72-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_2 "ABBC0F72-8EA1-11D1-00A0-C90629100000"
|
||||
|
||||
#define MODULE_ALIAS_UNIWILL_WMI() \
|
||||
MODULE_ALIAS("wmi:" UNIWILL_WMI_EVENT_GUID_2); \
|
||||
|
|
|
@ -210,7 +210,7 @@ static int keyboard_notifier_callb(struct notifier_block *nb, unsigned long code
|
|||
}
|
||||
|
||||
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)
|
||||
|
@ -736,7 +736,7 @@ static int uw_lightbar_init(struct platform_device *dev)
|
|||
|| dmi_match(DMI_PRODUCT_NAME, "A60 MUV")
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0)
|
||||
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI03")
|
||||
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XA03")
|
||||
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XA03")
|
||||
|
||||
#endif
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue