Merge tag 'i2c-for-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
[platform/kernel/linux-starfive.git] / drivers / gpu / drm / bridge / lontium-lt8912b.c
index 5968f4a..be533d2 100644 (file)
@@ -723,7 +723,7 @@ err_dt_parse:
        return ret;
 }
 
-static int lt8912_remove(struct i2c_client *client)
+static void lt8912_remove(struct i2c_client *client)
 {
        struct lt8912 *lt = i2c_get_clientdata(client);
 
@@ -731,7 +731,6 @@ static int lt8912_remove(struct i2c_client *client)
        drm_bridge_remove(&lt->bridge);
        lt8912_free_i2c(lt);
        lt8912_put_dt(lt);
-       return 0;
 }
 
 static const struct of_device_id lt8912_dt_match[] = {