drm: bridge: tc358775: Fix Regulator Names
Subsystems (3)
PATCH 1/1 drm: bridge: tc358775: Fix Regulator Names
Drop the -supply suffix from the regulator names inside the probe function. devm_regulator_get() expects property names without -supply and will automatically append them.
This fixes:
[...] tc358775 0-000f: supply vddio-supply not found, using dummy regulator [...] tc358775 0-000f: supply vdd-supply not found, using dummy regulator
Signed-off-by Daniel Schultz <[email protected]>
--- drivers/gpu/drm/bridge/tc358775.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/bridge/tc358775.c +2 -2
@@ -677,14 +677,14 @@ static int tc_probe(struct i2c_client *client)if (ret)return ret; - tc->vddio =devm_regulator_get (dev,"vddio-supply" ); + tc->vddio =devm_regulator_get (dev,"vddio" );if (IS_ERR (tc->vddio)) { ret =PTR_ERR (tc->vddio);dev_err (dev,"vddio-supply not found\n" );return ret; } - tc->vdd =devm_regulator_get (dev,"vdd-supply" ); + tc->vdd =devm_regulator_get (dev,"vdd" );if (IS_ERR (tc->vdd)) { ret =PTR_ERR (tc->vdd);dev_err (dev,"vdd-supply not found\n" );
Signature · 1 line
2.25.1