diff options
Diffstat (limited to 'arch/mips/mti-sead3/sead3-pic32-i2c-drv.c')
-rw-r--r-- | arch/mips/mti-sead3/sead3-pic32-i2c-drv.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/mips/mti-sead3/sead3-pic32-i2c-drv.c b/arch/mips/mti-sead3/sead3-pic32-i2c-drv.c index 46509b0a620d..514675ed0cde 100644 --- a/arch/mips/mti-sead3/sead3-pic32-i2c-drv.c +++ b/arch/mips/mti-sead3/sead3-pic32-i2c-drv.c | |||
@@ -304,8 +304,7 @@ static void i2c_platform_disable(struct i2c_platform_data *priv) | |||
304 | pr_debug("i2c_platform_disable\n"); | 304 | pr_debug("i2c_platform_disable\n"); |
305 | } | 305 | } |
306 | 306 | ||
307 | static int __devinit | 307 | static int i2c_platform_probe(struct platform_device *pdev) |
308 | i2c_platform_probe(struct platform_device *pdev) | ||
309 | { | 308 | { |
310 | struct i2c_platform_data *priv; | 309 | struct i2c_platform_data *priv; |
311 | struct resource *r; | 310 | struct resource *r; |
@@ -362,8 +361,7 @@ out: | |||
362 | return ret; | 361 | return ret; |
363 | } | 362 | } |
364 | 363 | ||
365 | static int __devexit | 364 | static int i2c_platform_remove(struct platform_device *pdev) |
366 | i2c_platform_remove(struct platform_device *pdev) | ||
367 | { | 365 | { |
368 | struct i2c_platform_data *priv = platform_get_drvdata(pdev); | 366 | struct i2c_platform_data *priv = platform_get_drvdata(pdev); |
369 | 367 | ||
@@ -408,7 +406,7 @@ static struct platform_driver i2c_platform_driver = { | |||
408 | .owner = THIS_MODULE, | 406 | .owner = THIS_MODULE, |
409 | }, | 407 | }, |
410 | .probe = i2c_platform_probe, | 408 | .probe = i2c_platform_probe, |
411 | .remove = __devexit_p(i2c_platform_remove), | 409 | .remove = i2c_platform_remove, |
412 | .suspend = i2c_platform_suspend, | 410 | .suspend = i2c_platform_suspend, |
413 | .resume = i2c_platform_resume, | 411 | .resume = i2c_platform_resume, |
414 | }; | 412 | }; |