]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: parade-ps8640: Use regmap APIs
authorPhilip Chen <philipchen@chromium.org>
Tue, 21 Sep 2021 18:06:16 +0000 (11:06 -0700)
committerDouglas Anderson <dianders@chromium.org>
Thu, 23 Sep 2021 20:53:30 +0000 (13:53 -0700)
commit8ae66231f6bcce6408fee744f707c27fd844ec33
treed19e296aa296ee1f9134bfc9939e9996be98f060
parent4a6c028f96a05c010a8158a151c52801e6c819e2
drm/bridge: parade-ps8640: Use regmap APIs

Replace the direct i2c access (i2c_smbus_* functions) with regmap APIs,
which will simplify the future update on ps8640 driver.

Signed-off-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
[dianders: whitespace fixes reported by dim apply-branch]
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210921110556.v6.1.I2351df94f18d5d8debc22d4d100f36fac560409a@changeid
drivers/gpu/drm/bridge/parade-ps8640.c