Loading drivers/input/tablet/wacom_sys.c +14 −10 Original line number Diff line number Diff line Loading @@ -978,6 +978,7 @@ static int wacom_initialize_leds(struct wacom *wacom) case INTUOS5S: case INTUOS5: case INTUOS5L: if (wacom->wacom_wac.features.device_type == BTN_TOOL_PEN) { wacom->led.select[0] = 0; wacom->led.select[1] = 0; wacom->led.llv = 32; Loading @@ -986,6 +987,8 @@ static int wacom_initialize_leds(struct wacom *wacom) error = sysfs_create_group(&wacom->intf->dev.kobj, &intuos5_led_attr_group); } else return 0; break; default: Loading Loading @@ -1021,6 +1024,7 @@ static void wacom_destroy_leds(struct wacom *wacom) case INTUOS5S: case INTUOS5: case INTUOS5L: if (wacom->wacom_wac.features.device_type == BTN_TOOL_PEN) sysfs_remove_group(&wacom->intf->dev.kobj, &intuos5_led_attr_group); break; Loading Loading
drivers/input/tablet/wacom_sys.c +14 −10 Original line number Diff line number Diff line Loading @@ -978,6 +978,7 @@ static int wacom_initialize_leds(struct wacom *wacom) case INTUOS5S: case INTUOS5: case INTUOS5L: if (wacom->wacom_wac.features.device_type == BTN_TOOL_PEN) { wacom->led.select[0] = 0; wacom->led.select[1] = 0; wacom->led.llv = 32; Loading @@ -986,6 +987,8 @@ static int wacom_initialize_leds(struct wacom *wacom) error = sysfs_create_group(&wacom->intf->dev.kobj, &intuos5_led_attr_group); } else return 0; break; default: Loading Loading @@ -1021,6 +1024,7 @@ static void wacom_destroy_leds(struct wacom *wacom) case INTUOS5S: case INTUOS5: case INTUOS5L: if (wacom->wacom_wac.features.device_type == BTN_TOOL_PEN) sysfs_remove_group(&wacom->intf->dev.kobj, &intuos5_led_attr_group); break; Loading