diff options
| -rw-r--r-- | drivers/usb/host/ohci-pnx4008.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-pnx4008.c b/drivers/usb/host/ohci-pnx4008.c index 2769326da42e..cd74bbdd007c 100644 --- a/drivers/usb/host/ohci-pnx4008.c +++ b/drivers/usb/host/ohci-pnx4008.c | |||
| @@ -327,7 +327,7 @@ static int __devinit usb_hcd_pnx4008_probe(struct platform_device *pdev) | |||
| 327 | } | 327 | } |
| 328 | i2c_adap = i2c_get_adapter(2); | 328 | i2c_adap = i2c_get_adapter(2); |
| 329 | memset(&i2c_info, 0, sizeof(struct i2c_board_info)); | 329 | memset(&i2c_info, 0, sizeof(struct i2c_board_info)); |
| 330 | strlcpy(i2c_info.name, "isp1301_pnx", I2C_NAME_SIZE); | 330 | strlcpy(i2c_info.type, "isp1301_pnx", I2C_NAME_SIZE); |
| 331 | isp1301_i2c_client = i2c_new_probed_device(i2c_adap, &i2c_info, | 331 | isp1301_i2c_client = i2c_new_probed_device(i2c_adap, &i2c_info, |
| 332 | normal_i2c); | 332 | normal_i2c); |
| 333 | i2c_put_adapter(i2c_adap); | 333 | i2c_put_adapter(i2c_adap); |
| @@ -411,7 +411,7 @@ out3: | |||
| 411 | out2: | 411 | out2: |
| 412 | clk_put(usb_clk); | 412 | clk_put(usb_clk); |
| 413 | out1: | 413 | out1: |
| 414 | i2c_unregister_client(isp1301_i2c_client); | 414 | i2c_unregister_device(isp1301_i2c_client); |
| 415 | isp1301_i2c_client = NULL; | 415 | isp1301_i2c_client = NULL; |
| 416 | out_i2c_driver: | 416 | out_i2c_driver: |
| 417 | i2c_del_driver(&isp1301_driver); | 417 | i2c_del_driver(&isp1301_driver); |
| @@ -430,7 +430,7 @@ static int usb_hcd_pnx4008_remove(struct platform_device *pdev) | |||
| 430 | pnx4008_unset_usb_bits(); | 430 | pnx4008_unset_usb_bits(); |
| 431 | clk_disable(usb_clk); | 431 | clk_disable(usb_clk); |
| 432 | clk_put(usb_clk); | 432 | clk_put(usb_clk); |
| 433 | i2c_unregister_client(isp1301_i2c_client); | 433 | i2c_unregister_device(isp1301_i2c_client); |
| 434 | isp1301_i2c_client = NULL; | 434 | isp1301_i2c_client = NULL; |
| 435 | i2c_del_driver(&isp1301_driver); | 435 | i2c_del_driver(&isp1301_driver); |
| 436 | 436 | ||
