diff options
Diffstat (limited to 'drivers/video/riva')
-rw-r--r-- | drivers/video/riva/rivafb-i2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/riva/rivafb-i2c.c b/drivers/video/riva/rivafb-i2c.c index c15b259af644..01b85e3b0ae1 100644 --- a/drivers/video/riva/rivafb-i2c.c +++ b/drivers/video/riva/rivafb-i2c.c | |||
@@ -144,15 +144,15 @@ void riva_create_i2c_busses(struct riva_par *par) | |||
144 | void riva_delete_i2c_busses(struct riva_par *par) | 144 | void riva_delete_i2c_busses(struct riva_par *par) |
145 | { | 145 | { |
146 | if (par->chan[0].par) | 146 | if (par->chan[0].par) |
147 | i2c_bit_del_bus(&par->chan[0].adapter); | 147 | i2c_del_adapter(&par->chan[0].adapter); |
148 | par->chan[0].par = NULL; | 148 | par->chan[0].par = NULL; |
149 | 149 | ||
150 | if (par->chan[1].par) | 150 | if (par->chan[1].par) |
151 | i2c_bit_del_bus(&par->chan[1].adapter); | 151 | i2c_del_adapter(&par->chan[1].adapter); |
152 | par->chan[1].par = NULL; | 152 | par->chan[1].par = NULL; |
153 | 153 | ||
154 | if (par->chan[2].par) | 154 | if (par->chan[2].par) |
155 | i2c_bit_del_bus(&par->chan[2].adapter); | 155 | i2c_del_adapter(&par->chan[2].adapter); |
156 | par->chan[2].par = NULL; | 156 | par->chan[2].par = NULL; |
157 | } | 157 | } |
158 | 158 | ||