diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-01-15 14:58:00 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2025-01-15 14:58:22 +0100 |
commit | bc6a958d76f29d238c12a85c1886f68651d0093b (patch) | |
tree | 2179d8835ec732b7df8df68b6a434a97cc12fdea /drivers | |
parent | Linux 6.13-rc7 (diff) | |
parent | reset: rzg2l-usbphy-ctrl: Assign proper of node to the allocated device (diff) | |
download | linux-bc6a958d76f29d238c12a85c1886f68651d0093b.tar.xz linux-bc6a958d76f29d238c12a85c1886f68651d0093b.zip |
Merge tag 'reset-fixes-for-v6.13' of git://git.pengutronix.de/pza/linux into arm/fixes
Reset controller fixes for v6.13
* Fix rzg2l-usb-vbus-regulator lookup by assigning the proper of node
to the allocated platform device in the rzg2l-usbphy-ctrl driver.
* tag 'reset-fixes-for-v6.13' of git://git.pengutronix.de/pza/linux:
reset: rzg2l-usbphy-ctrl: Assign proper of node to the allocated device
Link: https://lore.kernel.org/r/20250113163642.1757160-1-p.zabel@pengutronix.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/reset/reset-rzg2l-usbphy-ctrl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/reset-rzg2l-usbphy-ctrl.c b/drivers/reset/reset-rzg2l-usbphy-ctrl.c index 12d0535a874b..8a7f167e405e 100644 --- a/drivers/reset/reset-rzg2l-usbphy-ctrl.c +++ b/drivers/reset/reset-rzg2l-usbphy-ctrl.c @@ -176,6 +176,7 @@ static int rzg2l_usbphy_ctrl_probe(struct platform_device *pdev) vdev->dev.parent = dev; priv->vdev = vdev; + device_set_of_node_from_dev(&vdev->dev, dev); error = platform_device_add(vdev); if (error) goto err_device_put; |