]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: cx231xx: drop return value of cx231xx_i2c_unregister
authorPeter Rosin <peda@axentia.se>
Mon, 31 Jul 2017 13:38:51 +0000 (09:38 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 9 Aug 2017 14:17:00 +0000 (10:17 -0400)
No one cares anyway.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/cx231xx/cx231xx-i2c.c
drivers/media/usb/cx231xx/cx231xx.h

index 3a0c45ffd40fb995658da5389c1071bd22f2850f..3e49517cb5e06380c32a6d047f428d75438ea18d 100644 (file)
@@ -551,10 +551,9 @@ int cx231xx_i2c_register(struct cx231xx_i2c *bus)
  * cx231xx_i2c_unregister()
  * unregister i2c_bus
  */
-int cx231xx_i2c_unregister(struct cx231xx_i2c *bus)
+void cx231xx_i2c_unregister(struct cx231xx_i2c *bus)
 {
        i2c_del_adapter(&bus->i2c_adap);
-       return 0;
 }
 
 /*
index 27ee035f9f84a65aa0f72ff77d588365e85b6071..72d5937a087ecb57572047eff23b13ce369f9a3e 100644 (file)
@@ -762,7 +762,7 @@ int cx231xx_reset_analog_tuner(struct cx231xx *dev);
 /* Provided by cx231xx-i2c.c */
 void cx231xx_do_i2c_scan(struct cx231xx *dev, int i2c_port);
 int cx231xx_i2c_register(struct cx231xx_i2c *bus);
-int cx231xx_i2c_unregister(struct cx231xx_i2c *bus);
+void cx231xx_i2c_unregister(struct cx231xx_i2c *bus);
 int cx231xx_i2c_mux_create(struct cx231xx *dev);
 int cx231xx_i2c_mux_register(struct cx231xx *dev, int mux_no);
 void cx231xx_i2c_mux_unregister(struct cx231xx *dev);