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)
commit692d8db0a5ca123017d7d4847856343512f87af9
treed19e296aa296ee1f9134bfc9939e9996be98f060
parentdfbc6cb60b143a94e3fd7c84fdc30d3cc60dae1b
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