diff options
| author | Laurent Pinchart <[email protected]> | 2018-02-13 12:00:35 +0000 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2018-03-01 07:18:18 +0000 |
| commit | c7963f5f13dfecb3e5d375b4d807927272bf28d0 (patch) | |
| tree | e458e318eb05473b3b80f9147243a11951c0e5a9 /drivers/gpu/drm/omapdrm/omap_crtc.c | |
| parent | drm: omapdrm: dsi: Combine two commonly used inline functions (diff) | |
| download | kernel-c7963f5f13dfecb3e5d375b4d807927272bf28d0.tar.gz kernel-c7963f5f13dfecb3e5d375b4d807927272bf28d0.zip | |
drm: omapdrm: dsi: Use dev pointer directly in dsi_bind() function
The dsi_bind() function receives a pointer to a struct device that it
casts to a struct platform_device, only to use the platform device's dev
field through the code. Use the dev pointer directly.
While at it rename the struct platform_device pointer dsidev to pdev to
make it more explicit.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
0 files changed, 0 insertions, 0 deletions
