mirror of
https://github.com/torvalds/linux.git
synced 2025-12-01 07:26:02 +07:00
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>
This commit is contained in:
@@ -176,6 +176,7 @@ static int rzg2l_usbphy_ctrl_probe(struct platform_device *pdev)
|
|||||||
vdev->dev.parent = dev;
|
vdev->dev.parent = dev;
|
||||||
priv->vdev = vdev;
|
priv->vdev = vdev;
|
||||||
|
|
||||||
|
device_set_of_node_from_dev(&vdev->dev, dev);
|
||||||
error = platform_device_add(vdev);
|
error = platform_device_add(vdev);
|
||||||
if (error)
|
if (error)
|
||||||
goto err_device_put;
|
goto err_device_put;
|
||||||
|
|||||||
Reference in New Issue
Block a user