From: Pekka Paalanen Date: Mon, 17 Aug 2009 16:49:19 +0000 (+0300) Subject: drm/kms: no need to return void value (encoder) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=949ef70e2d1a5c12178875f513df34fc85d91a38;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git drm/kms: no need to return void value (encoder) Cc: Francisco Jerez Signed-off-by: Pekka Paalanen Signed-off-by: Dave Airlie --- diff --git a/include/drm/drm_encoder_slave.h b/include/drm/drm_encoder_slave.h index e5e5c94ca92..2f65633d28a 100644 --- a/include/drm/drm_encoder_slave.h +++ b/include/drm/drm_encoder_slave.h @@ -154,7 +154,7 @@ static inline int drm_i2c_encoder_register(struct module *owner, */ static inline void drm_i2c_encoder_unregister(struct drm_i2c_encoder_driver *driver) { - return i2c_del_driver(&driver->i2c_driver); + i2c_del_driver(&driver->i2c_driver); } void drm_i2c_encoder_destroy(struct drm_encoder *encoder);