Message ID | 20200226081011.1347245-2-anarsoul@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add LCD support for Pine64 Pinebook 1080p | expand |
On Wed, Feb 26, 2020 at 12:10 AM Vasily Khoruzhick <anarsoul@gmail.com> wrote: > > From: Samuel Holland <samuel@sholland.org> This patch can be dropped since equivalent was merged: https://cgit.freedesktop.org/drm/drm-misc/commit/?id=6726ca1a2d531f5a6efc1f785b15606ce837c4dc > We don't need to pass '-supply' suffix to devm_regulator_get() > > Fixes: 6aa192698089 ("drm/bridge: Add Analogix anx6345 support") > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > Signed-off-by: Samuel Holland <samuel@sholland.org> > Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> > --- > drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c > index 56f55c53abfd..0d8d083b0207 100644 > --- a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c > +++ b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c > @@ -712,14 +712,14 @@ static int anx6345_i2c_probe(struct i2c_client *client, > DRM_DEBUG("No panel found\n"); > > /* 1.2V digital core power regulator */ > - anx6345->dvdd12 = devm_regulator_get(dev, "dvdd12-supply"); > + anx6345->dvdd12 = devm_regulator_get(dev, "dvdd12"); > if (IS_ERR(anx6345->dvdd12)) { > DRM_ERROR("dvdd12-supply not found\n"); > return PTR_ERR(anx6345->dvdd12); > } > > /* 2.5V digital core power regulator */ > - anx6345->dvdd25 = devm_regulator_get(dev, "dvdd25-supply"); > + anx6345->dvdd25 = devm_regulator_get(dev, "dvdd25"); > if (IS_ERR(anx6345->dvdd25)) { > DRM_ERROR("dvdd25-supply not found\n"); > return PTR_ERR(anx6345->dvdd25); > -- > 2.25.0 >
diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c index 56f55c53abfd..0d8d083b0207 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c +++ b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c @@ -712,14 +712,14 @@ static int anx6345_i2c_probe(struct i2c_client *client, DRM_DEBUG("No panel found\n"); /* 1.2V digital core power regulator */ - anx6345->dvdd12 = devm_regulator_get(dev, "dvdd12-supply"); + anx6345->dvdd12 = devm_regulator_get(dev, "dvdd12"); if (IS_ERR(anx6345->dvdd12)) { DRM_ERROR("dvdd12-supply not found\n"); return PTR_ERR(anx6345->dvdd12); } /* 2.5V digital core power regulator */ - anx6345->dvdd25 = devm_regulator_get(dev, "dvdd25-supply"); + anx6345->dvdd25 = devm_regulator_get(dev, "dvdd25"); if (IS_ERR(anx6345->dvdd25)) { DRM_ERROR("dvdd25-supply not found\n"); return PTR_ERR(anx6345->dvdd25);