aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-sirf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-sirf.c')
-rw-r--r--drivers/i2c/busses/i2c-sirf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/i2c/busses/i2c-sirf.c b/drivers/i2c/busses/i2c-sirf.c
index 5574a47792fb..3f1818b87974 100644
--- a/drivers/i2c/busses/i2c-sirf.c
+++ b/drivers/i2c/busses/i2c-sirf.c
@@ -258,7 +258,7 @@ static const struct i2c_algorithm i2c_sirfsoc_algo = {
258 .functionality = i2c_sirfsoc_func, 258 .functionality = i2c_sirfsoc_func,
259}; 259};
260 260
261static int __devinit i2c_sirfsoc_probe(struct platform_device *pdev) 261static int i2c_sirfsoc_probe(struct platform_device *pdev)
262{ 262{
263 struct sirfsoc_i2c *siic; 263 struct sirfsoc_i2c *siic;
264 struct i2c_adapter *adap; 264 struct i2c_adapter *adap;
@@ -385,7 +385,7 @@ err_get_clk:
385 return err; 385 return err;
386} 386}
387 387
388static int __devexit i2c_sirfsoc_remove(struct platform_device *pdev) 388static int i2c_sirfsoc_remove(struct platform_device *pdev)
389{ 389{
390 struct i2c_adapter *adapter = platform_get_drvdata(pdev); 390 struct i2c_adapter *adapter = platform_get_drvdata(pdev);
391 struct sirfsoc_i2c *siic = adapter->algo_data; 391 struct sirfsoc_i2c *siic = adapter->algo_data;
@@ -433,7 +433,7 @@ static const struct dev_pm_ops i2c_sirfsoc_pm_ops = {
433}; 433};
434#endif 434#endif
435 435
436static const struct of_device_id sirfsoc_i2c_of_match[] __devinitconst = { 436static const struct of_device_id sirfsoc_i2c_of_match[] = {
437 { .compatible = "sirf,prima2-i2c", }, 437 { .compatible = "sirf,prima2-i2c", },
438 {}, 438 {},
439}; 439};
@@ -449,7 +449,7 @@ static struct platform_driver i2c_sirfsoc_driver = {
449 .of_match_table = sirfsoc_i2c_of_match, 449 .of_match_table = sirfsoc_i2c_of_match,
450 }, 450 },
451 .probe = i2c_sirfsoc_probe, 451 .probe = i2c_sirfsoc_probe,
452 .remove = __devexit_p(i2c_sirfsoc_remove), 452 .remove = i2c_sirfsoc_remove,
453}; 453};
454module_platform_driver(i2c_sirfsoc_driver); 454module_platform_driver(i2c_sirfsoc_driver);
455 455