drm/omap: Don't pass display pointer to encoder init function
The display isn't used by the encoder implementation, don't pass it to the initialization function and store it internally needlessly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:

committed by
Tomi Valkeinen

parent
40e5f937d5
commit
79d11e96e3
@@ -25,7 +25,6 @@ struct drm_encoder;
|
||||
struct omap_dss_device;
|
||||
|
||||
struct drm_encoder *omap_encoder_init(struct drm_device *dev,
|
||||
struct omap_dss_device *output,
|
||||
struct omap_dss_device *display);
|
||||
struct omap_dss_device *output);
|
||||
|
||||
#endif /* __OMAPDRM_ENCODER_H__ */
|
||||
|
Reference in New Issue
Block a user