aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/hirschmann/hellcreek_ptp.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-14 16:18:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-14 16:18:22 +0200
commit7e50133234007f77d40c5ad871960a3171b362c3 (patch)
tree30e41547b0595b3926cd4e6e694a5e9b3f4becb6 /drivers/net/dsa/hirschmann/hellcreek_ptp.c
parentdrivers/usb/host/ehci-fsl: Fix interrupt setup in host mode. (diff)
parentLinux 5.19-rc6 (diff)
downloadlinux-dev-7e50133234007f77d40c5ad871960a3171b362c3.tar.xz
linux-dev-7e50133234007f77d40c5ad871960a3171b362c3.zip
Merge tag 'v5.19-rc6' into usb-linus
The usb-serial fixes are based on this branch, so merge it in here to prevent merge confusion when merging in that tree. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/dsa/hirschmann/hellcreek_ptp.c')
-rw-r--r--drivers/net/dsa/hirschmann/hellcreek_ptp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/hirschmann/hellcreek_ptp.c b/drivers/net/dsa/hirschmann/hellcreek_ptp.c
index 2572c6087bb5..b28baab6d56a 100644
--- a/drivers/net/dsa/hirschmann/hellcreek_ptp.c
+++ b/drivers/net/dsa/hirschmann/hellcreek_ptp.c
@@ -300,6 +300,7 @@ static int hellcreek_led_setup(struct hellcreek *hellcreek)
const char *label, *state;
int ret = -EINVAL;
+ of_node_get(hellcreek->dev->of_node);
leds = of_find_node_by_name(hellcreek->dev->of_node, "leds");
if (!leds) {
dev_err(hellcreek->dev, "No LEDs specified in device tree!\n");