forked from drath/libratbag
hidpp20: don't set the device's num_leds, it's overwritten later
This should all be handled by libratbag, not the driver. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Benjamin Tissoires
parent
670720b40f
commit
ec442b960d
@@ -997,7 +997,6 @@ hidpp20drv_init_feature(struct ratbag_device *device, uint16_t feature)
|
||||
return 0;
|
||||
|
||||
ratbag_device_set_capability(device, RATBAG_DEVICE_CAP_LED);
|
||||
device->num_leds = drv_data->num_leds;
|
||||
break;
|
||||
}
|
||||
case HIDPP_PAGE_ONBOARD_PROFILES: {
|
||||
|
||||
Reference in New Issue
Block a user