mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Fix feature check
This commit is contained in:
parent
362e16e703
commit
bb4885cb57
|
@ -1147,7 +1147,7 @@ static int uniwill_keyboard_probe(struct platform_device *dev)
|
||||||
if (uw_feats->uniwill_has_charging_prio)
|
if (uw_feats->uniwill_has_charging_prio)
|
||||||
uw_charging_prio_loaded = sysfs_create_group(&dev->dev.kobj, &uw_charging_prio_attr_group) == 0;
|
uw_charging_prio_loaded = sysfs_create_group(&dev->dev.kobj, &uw_charging_prio_attr_group) == 0;
|
||||||
|
|
||||||
if (uw_feats->uniwill_has_charging_prio)
|
if (uw_feats->uniwill_has_charging_profile)
|
||||||
uw_charging_profile_loaded = sysfs_create_group(&dev->dev.kobj, &uw_charging_profile_attr_group) == 0;
|
uw_charging_profile_loaded = sysfs_create_group(&dev->dev.kobj, &uw_charging_profile_attr_group) == 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue