diff options
| author | Douglas Anderson <[email protected]> | 2021-04-23 16:58:53 +0000 |
|---|---|---|
| committer | Douglas Anderson <[email protected]> | 2021-05-03 20:21:08 +0000 |
| commit | f94eb8a328633f2fc6af358d0ad7e9c8af3e26f6 (patch) | |
| tree | 13a78770aefe9677a0ed84b5293620c8af746821 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/bridge: ti-sn65dsi86: Add local var for "dev" to simplify probe (diff) | |
| download | kernel-f94eb8a328633f2fc6af358d0ad7e9c8af3e26f6.tar.gz kernel-f94eb8a328633f2fc6af358d0ad7e9c8af3e26f6.zip | |
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 <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423095743.v5.7.If5d4d4e22e97bebcd493b76765c1759527705620@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
