]> git.baikalelectronics.ru Git - kernel.git/commit
drm: omapdrm: dsi: Store the struct device pointer in struct dsi_data
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 13 Feb 2018 12:00:36 +0000 (14:00 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 1 Mar 2018 07:18:18 +0000 (09:18 +0200)
commit20ea10fd96a42a132fc61e512841760bb7e0c4ce
tree25106bf194ad64bb24b49195ba5ce79065aab0ab
parent164b46eb7889bffcfb2e9bade81b47a91375331a
drm: omapdrm: dsi: Store the struct device pointer in struct dsi_data

The dsi_data structure stores a pointer to a struct platform_device. The
driver only uses the dev member of the platform device structure. Store
the struct device pointer instead and use it directly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/gpu/drm/omapdrm/dss/dsi.c