projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'sound-fix-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[linux-2.6-microblaze.git]
/
drivers
/
leds
/
leds-turris-omnia.c
diff --git
a/drivers/leds/leds-turris-omnia.c
b/drivers/leds/leds-turris-omnia.c
index
1adfed1
..
eac6f4a
100644
(file)
--- a/
drivers/leds/leds-turris-omnia.c
+++ b/
drivers/leds/leds-turris-omnia.c
@@
-239,9
+239,6
@@
static int omnia_leds_probe(struct i2c_client *client,
led += ret;
}
led += ret;
}
- if (devm_device_add_groups(dev, omnia_led_controller_groups))
- dev_warn(dev, "Could not add attribute group!\n");
-
return 0;
}
return 0;
}
@@
-283,6
+280,7
@@
static struct i2c_driver omnia_leds_driver = {
.driver = {
.name = "leds-turris-omnia",
.of_match_table = of_omnia_leds_match,
.driver = {
.name = "leds-turris-omnia",
.of_match_table = of_omnia_leds_match,
+ .dev_groups = omnia_led_controller_groups,
},
};
},
};