Merge tag 'drm-next-2022-10-05' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-block.git] / drivers / gpu / drm / bridge / ite-it6505.c
index 2767b70fa2cb874efa50ca5073f171c1dd705f7d..dfe4351c9bdd36b1637dc355ac85ae1817406202 100644 (file)
@@ -3325,7 +3325,7 @@ static int it6505_i2c_probe(struct i2c_client *client,
        return 0;
 }
 
-static int it6505_i2c_remove(struct i2c_client *client)
+static void it6505_i2c_remove(struct i2c_client *client)
 {
        struct it6505 *it6505 = i2c_get_clientdata(client);
 
@@ -3333,8 +3333,6 @@ static int it6505_i2c_remove(struct i2c_client *client)
        drm_dp_aux_unregister(&it6505->aux);
        it6505_debugfs_remove(it6505);
        it6505_poweroff(it6505);
-
-       return 0;
 }
 
 static const struct i2c_device_id it6505_id[] = {