diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-02-13 14:00:32 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-03-01 09:18:18 +0200 |
commit | b40d0ed647a2d96da38760d0429450936030fd85 (patch) | |
tree | 93c46c68458d17f8bb9729e5047750b5b5bd014a /drivers/gpu/drm/omapdrm/dss/sdi.c | |
parent | 1c4b92ee00734766967f5aa425767923c747f9c6 (diff) |
drm: omapdrm: dss: Don't unnecessarily cast to dev to pdev and back
The dss_unbind() function casts the struct device pointer to a struct
platform_device, only to later use the struct device pointer from
platform_device. Don't cast at all.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/sdi.c')
0 files changed, 0 insertions, 0 deletions