drm: Extract add_hdmi_mode() out of do_hdmi_vsdb_modes()
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:24 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:28 +0000 (07:45 +0200)
commit1deee8d76724b478240f1bba5affe017e4f9bfa3
treea24eec548d5a9543d7d8caab393461bd4dcda894
parentc858cfcae6dd3829e8708a48d009c2f676b79d4d
drm: Extract add_hdmi_mode() out of do_hdmi_vsdb_modes()

So we respect a nice design of having similar functions at the same
level, in this case:

do_hdmi_vsdb_modes()
  - add_hdmi_mandatory_stereo_modes()
  - add_hdmi_mode()

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_edid.c