summaryrefslogtreecommitdiff
path: root/include/drm/drm_encoder_slave.h
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2009-08-17 19:49:19 +0300
committerDave Airlie <airlied@linux.ie>2009-08-19 16:06:49 +1000
commit949ef70e2d1a5c12178875f513df34fc85d91a38 (patch)
tree185728aebfa131c9fd1a08172fae964eff163ddc /include/drm/drm_encoder_slave.h
parent53bd83899f5ba6b0da8f5ef976129273854a72d4 (diff)
drm/kms: no need to return void value (encoder)
Cc: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_encoder_slave.h')
-rw-r--r--include/drm/drm_encoder_slave.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_encoder_slave.h b/include/drm/drm_encoder_slave.h
index e5e5c94ca92c..2f65633d28a7 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);