Commit 22469022 authored by Peter Rosin's avatar Peter Rosin Committed by Mauro Carvalho Chehab

media: cx231xx: drop return value of cx231xx_i2c_unregister

No one cares anyway.
Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 54b1b41f
...@@ -551,10 +551,9 @@ int cx231xx_i2c_register(struct cx231xx_i2c *bus) ...@@ -551,10 +551,9 @@ int cx231xx_i2c_register(struct cx231xx_i2c *bus)
* cx231xx_i2c_unregister() * cx231xx_i2c_unregister()
* unregister i2c_bus * 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); i2c_del_adapter(&bus->i2c_adap);
return 0;
} }
/* /*
......
...@@ -762,7 +762,7 @@ int cx231xx_reset_analog_tuner(struct cx231xx *dev); ...@@ -762,7 +762,7 @@ int cx231xx_reset_analog_tuner(struct cx231xx *dev);
/* Provided by cx231xx-i2c.c */ /* Provided by cx231xx-i2c.c */
void cx231xx_do_i2c_scan(struct cx231xx *dev, int i2c_port); void cx231xx_do_i2c_scan(struct cx231xx *dev, int i2c_port);
int cx231xx_i2c_register(struct cx231xx_i2c *bus); 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_create(struct cx231xx *dev);
int cx231xx_i2c_mux_register(struct cx231xx *dev, int mux_no); int cx231xx_i2c_mux_register(struct cx231xx *dev, int mux_no);
void cx231xx_i2c_mux_unregister(struct cx231xx *dev); void cx231xx_i2c_mux_unregister(struct cx231xx *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment