]> 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>
Wed, 28 May 2014 13:33:27 +0000 (15:33 +0200)
commita70995de6e42423549dfa192b71110f67da8530e
treef938f4e3617063c464e4cd03a30bd7b071f5f2a2
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.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_dsi.c