Documentation: devres: add missing PHY helpers
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 3 Nov 2022 02:06:25 +0000 (10:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Nov 2022 11:37:37 +0000 (12:37 +0100)
commit77ece8123fed2bef451ef31a34b8327849375d26
treef97643726f12c0e18f823bec83b8f6645f7ecfa3
parentd119cd95c62ddf6a1d76a006be273f255fd6c5a8
Documentation: devres: add missing PHY helpers

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>
Link: https://lore.kernel.org/r/20221103020625.1003759-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-api/driver-model/devres.rst