drm/kms: no need to return void value (encoder)
authorPekka Paalanen <pq@iki.fi>
Mon, 17 Aug 2009 16:49:19 +0000 (19:49 +0300)
committerDave Airlie <airlied@linux.ie>
Wed, 19 Aug 2009 06:06:49 +0000 (16:06 +1000)
Cc: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drm_encoder_slave.h

index e5e5c94ca92c897847ad0818373be9f0f05cbf02..2f65633d28a74e4c826fdda33e58793149220c54 100644 (file)
@@ -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);