diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ocores.c')
-rw-r--r-- | drivers/i2c/busses/i2c-ocores.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index 9b35c9fbb2fe..a873d0ad1acb 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c | |||
@@ -343,7 +343,7 @@ static int ocores_i2c_of_probe(struct platform_device *pdev, | |||
343 | #define ocores_i2c_of_probe(pdev,i2c) -ENODEV | 343 | #define ocores_i2c_of_probe(pdev,i2c) -ENODEV |
344 | #endif | 344 | #endif |
345 | 345 | ||
346 | static int __devinit ocores_i2c_probe(struct platform_device *pdev) | 346 | static int ocores_i2c_probe(struct platform_device *pdev) |
347 | { | 347 | { |
348 | struct ocores_i2c *i2c; | 348 | struct ocores_i2c *i2c; |
349 | struct ocores_i2c_platform_data *pdata; | 349 | struct ocores_i2c_platform_data *pdata; |
@@ -441,7 +441,7 @@ static int __devinit ocores_i2c_probe(struct platform_device *pdev) | |||
441 | return 0; | 441 | return 0; |
442 | } | 442 | } |
443 | 443 | ||
444 | static int __devexit ocores_i2c_remove(struct platform_device *pdev) | 444 | static int ocores_i2c_remove(struct platform_device *pdev) |
445 | { | 445 | { |
446 | struct ocores_i2c *i2c = platform_get_drvdata(pdev); | 446 | struct ocores_i2c *i2c = platform_get_drvdata(pdev); |
447 | 447 | ||
@@ -485,7 +485,7 @@ static SIMPLE_DEV_PM_OPS(ocores_i2c_pm, ocores_i2c_suspend, ocores_i2c_resume); | |||
485 | 485 | ||
486 | static struct platform_driver ocores_i2c_driver = { | 486 | static struct platform_driver ocores_i2c_driver = { |
487 | .probe = ocores_i2c_probe, | 487 | .probe = ocores_i2c_probe, |
488 | .remove = __devexit_p(ocores_i2c_remove), | 488 | .remove = ocores_i2c_remove, |
489 | .driver = { | 489 | .driver = { |
490 | .owner = THIS_MODULE, | 490 | .owner = THIS_MODULE, |
491 | .name = "ocores-i2c", | 491 | .name = "ocores-i2c", |