diff options
Diffstat (limited to 'drivers/video/nvidia')
-rw-r--r-- | drivers/video/nvidia/nv_i2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/nvidia/nv_i2c.c b/drivers/video/nvidia/nv_i2c.c index 442e85328341..8454adf2d178 100644 --- a/drivers/video/nvidia/nv_i2c.c +++ b/drivers/video/nvidia/nv_i2c.c | |||
@@ -147,15 +147,15 @@ void nvidia_create_i2c_busses(struct nvidia_par *par) | |||
147 | void nvidia_delete_i2c_busses(struct nvidia_par *par) | 147 | void nvidia_delete_i2c_busses(struct nvidia_par *par) |
148 | { | 148 | { |
149 | if (par->chan[0].par) | 149 | if (par->chan[0].par) |
150 | i2c_bit_del_bus(&par->chan[0].adapter); | 150 | i2c_del_adapter(&par->chan[0].adapter); |
151 | par->chan[0].par = NULL; | 151 | par->chan[0].par = NULL; |
152 | 152 | ||
153 | if (par->chan[1].par) | 153 | if (par->chan[1].par) |
154 | i2c_bit_del_bus(&par->chan[1].adapter); | 154 | i2c_del_adapter(&par->chan[1].adapter); |
155 | par->chan[1].par = NULL; | 155 | par->chan[1].par = NULL; |
156 | 156 | ||
157 | if (par->chan[2].par) | 157 | if (par->chan[2].par) |
158 | i2c_bit_del_bus(&par->chan[2].adapter); | 158 | i2c_del_adapter(&par->chan[2].adapter); |
159 | par->chan[2].par = NULL; | 159 | par->chan[2].par = NULL; |
160 | 160 | ||
161 | } | 161 | } |