We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 031561c commit 1d776f0Copy full SHA for 1d776f0
drivers/net/dsa/hirschmann/hellcreek_ptp.c
@@ -300,6 +300,7 @@ static int hellcreek_led_setup(struct hellcreek *hellcreek)
300
const char *label, *state;
301
int ret = -EINVAL;
302
303
+ of_node_get(hellcreek->dev->of_node);
304
leds = of_find_node_by_name(hellcreek->dev->of_node, "leds");
305
if (!leds) {
306
dev_err(hellcreek->dev, "No LEDs specified in device tree!\n");
0 commit comments