]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/bridge: ti-sn65dsi86: Cleanup managing of drvdata
authorDouglas Anderson <dianders@chromium.org>
Fri, 23 Apr 2021 16:58:53 +0000 (09:58 -0700)
committerDouglas Anderson <dianders@chromium.org>
Mon, 3 May 2021 20:21:08 +0000 (13:21 -0700)
commitf94eb8a328633f2fc6af358d0ad7e9c8af3e26f6
tree13a78770aefe9677a0ed84b5293620c8af746821
parent3636fc25f7608e974b65b71c5e2328b9710aafae
drm/bridge: ti-sn65dsi86: Cleanup managing of drvdata

Let's:
- Set the drvdata as soon as it's allocated. This just sets up a
  pointer so there's no downside here.
- Remove the useless call to i2c_set_clientdata() which is literally
  the same thing as dev_set_drvdata().

No functional changes intended.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423095743.v5.7.If5d4d4e22e97bebcd493b76765c1759527705620@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c