]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Make intel_dsi_init() return void
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 28 May 2014 11:30:56 +0000 (12:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Jun 2014 14:35:29 +0000 (16:35 +0200)
commit953ce13cfc54d663221c7abd62d3fe25051a60dc
treeb6810a2d0054784183f5fa08227318a4e3a6d1d1
parent43f6534f3526d9a074ac2cd7fadff18cddc94c59
drm/i915: Make intel_dsi_init() return void

Functions that can't fail are such a bliss to work with, it'd be shame
to miss the occasion. The "failure" mode is the DSI connector not being
created, the rest of the initialization can carry on happily.

We weren't even checking that value anyway.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Suggested-by: Shobhit Kumar <shobhit.kumar@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Shobhit Kumar <shobhit.kumar@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
[danvet: Also convert the missed return statement due to other patches
merged meanwhile.]
[danvet2: Squash in fixup from Damien to remove empty return; at the
end of intel_dsi_init.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_dsi.c