diff options
Diffstat (limited to 'drivers/gpu/drm/i2c')
| -rw-r--r-- | drivers/gpu/drm/i2c/ch7006_drv.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/i2c/sil164_drv.c | 7 | ||||
| -rw-r--r-- | drivers/gpu/drm/i2c/tda9950.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/i2c/tda998x_drv.c | 3 | 
4 files changed, 3 insertions, 15 deletions
diff --git a/drivers/gpu/drm/i2c/ch7006_drv.c b/drivers/gpu/drm/i2c/ch7006_drv.c index b91e48d2190d..578b738859b9 100644 --- a/drivers/gpu/drm/i2c/ch7006_drv.c +++ b/drivers/gpu/drm/i2c/ch7006_drv.c @@ -417,11 +417,9 @@ fail:  	return -ENODEV;  } -static int ch7006_remove(struct i2c_client *client) +static void ch7006_remove(struct i2c_client *client)  {  	ch7006_dbg(client, "\n"); - -	return 0;  }  static int ch7006_resume(struct device *dev) diff --git a/drivers/gpu/drm/i2c/sil164_drv.c b/drivers/gpu/drm/i2c/sil164_drv.c index 741886b54419..1bc0b5de4499 100644 --- a/drivers/gpu/drm/i2c/sil164_drv.c +++ b/drivers/gpu/drm/i2c/sil164_drv.c @@ -370,12 +370,6 @@ sil164_probe(struct i2c_client *client, const struct i2c_device_id *id)  	return 0;  } -static int -sil164_remove(struct i2c_client *client) -{ -	return 0; -} -  static struct i2c_client *  sil164_detect_slave(struct i2c_client *client)  { @@ -427,7 +421,6 @@ MODULE_DEVICE_TABLE(i2c, sil164_ids);  static struct drm_i2c_encoder_driver sil164_driver = {  	.i2c_driver = {  		.probe = sil164_probe, -		.remove = sil164_remove,  		.driver = {  			.name = "sil164",  		}, diff --git a/drivers/gpu/drm/i2c/tda9950.c b/drivers/gpu/drm/i2c/tda9950.c index 5b03fdd1eaa4..9ed54e7ccff2 100644 --- a/drivers/gpu/drm/i2c/tda9950.c +++ b/drivers/gpu/drm/i2c/tda9950.c @@ -478,14 +478,12 @@ static int tda9950_probe(struct i2c_client *client,  	return 0;  } -static int tda9950_remove(struct i2c_client *client) +static void tda9950_remove(struct i2c_client *client)  {  	struct tda9950_priv *priv = i2c_get_clientdata(client);  	cec_notifier_cec_adap_unregister(priv->notify, priv->adap);  	cec_unregister_adapter(priv->adap); - -	return 0;  }  static struct i2c_device_id tda9950_ids[] = { diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index f8eb6f69be05..d444e7fffb54 100644 --- a/drivers/gpu/drm/i2c/tda998x_drv.c +++ b/drivers/gpu/drm/i2c/tda998x_drv.c @@ -2076,11 +2076,10 @@ tda998x_probe(struct i2c_client *client, const struct i2c_device_id *id)  	return ret;  } -static int tda998x_remove(struct i2c_client *client) +static void tda998x_remove(struct i2c_client *client)  {  	component_del(&client->dev, &tda998x_ops);  	tda998x_destroy(&client->dev); -	return 0;  }  #ifdef CONFIG_OF  |