diff mbox series

Documentation: devres: add missing PHY helpers

Message ID 20221103020625.1003759-1-yangyingliang@huawei.com
State New
Headers show
Series Documentation: devres: add missing PHY helpers | expand

Commit Message

Yang Yingliang Nov. 3, 2022, 2:06 a.m. UTC
Add devm_usb_get_phy_by_phandle() to devres.rst. It's introduced
by commit 5d3c28b5a42d ("usb: otg: add device tree support to otg
library").

Add devm_usb_get_phy_by_node() to devres.rst. It's introduced by
commit e842b84c8e72 ("usb: phy: Add interface to get phy give of
device_node.")

Fixes: 5d3c28b5a42d ("usb: otg: add device tree support to otg library")
Fixes: e842b84c8e72 ("usb: phy: Add interface to get phy give of device_node.")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 Documentation/driver-api/driver-model/devres.rst | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index 0afaabe78fb8..08e5ba810eb0 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -389,6 +389,8 @@  PCI
 
 PHY
   devm_usb_get_phy()
+  devm_usb_get_phy_by_node()
+  devm_usb_get_phy_by_phandle()
   devm_usb_put_phy()
 
 PINCTRL