mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 01:46:11 +02:00
leds-gca230718: fix compilation
A & was missing.
Fixes 669a737 ("treewide: use _scoped for loop")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22984
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
d43c458e02
commit
a37270225e
@ -122,7 +122,7 @@ static int gca230718_probe(struct i2c_client *client)
|
||||
|
||||
i2c_set_clientdata(client, priv);
|
||||
|
||||
device_for_each_child_node_scoped(client->dev, ledNode) {
|
||||
device_for_each_child_node_scoped(&client->dev, ledNode) {
|
||||
const char *lname = fwnode_get_name(ledNode);
|
||||
u32 regValue = 0;
|
||||
if (fwnode_property_read_u32(ledNode, "reg", ®Value))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user