drm/panel: Provide convenience wrapper for .get_modes()
authorAjay Kumar <ajaykumar.rs@samsung.com>
Wed, 30 Jul 2014 10:02:15 +0000 (12:02 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 6 Aug 2014 14:44:09 +0000 (16:44 +0200)
commit7bf93c73adb28d8db6b34c27d3edd96337a2d366
treec08c94f1948901bd05f7fff827f5ba9da90fea9c
parent45527d435c5e39b6eec4aa0065a562e7cf05d503
drm/panel: Provide convenience wrapper for .get_modes()

Add a convenience wrapper for the struct drm_panel_funcs' .get_modes()
function so that not every driver needs to check that the panel driver
implements the function before calling it.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
[treding: extract from larger patch, commit message]
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/drm/drm_panel.h