diff options
| author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-12 16:27:54 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-23 15:34:52 +0300 |
| commit | 32c6fefb291bf84c5a4dbc7d52b56a1605ed9aae (patch) | |
| tree | d59542ecad08a4b3d3b5c042f6f859c1b31018fc /drivers/usb/chipidea/core.c | |
| parent | 55f223b8b408cbfd85fb1c5b74ab85ccab319a69 (diff) | |
| download | linux-32c6fefb291bf84c5a4dbc7d52b56a1605ed9aae.tar.xz | |
usb: phy: generic: make vcc regulator optional
phy-generic uses the existance of the property "vcc-supply" to see if a
regulator is optional or not. Use devm_regulator_get_optional() instead
which exists for this purpose. Using devm_regulator_get_optional()
avoids "supply vcc not found, using dummy regulator" messages.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20221012132754.292151-1-s.hauer@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/core.c')
0 files changed, 0 insertions, 0 deletions
