diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-27 15:59:38 -0500 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-12-22 14:13:45 -0500 |
commit | 0b255e927d47b550620dfd3475ee74b0f52e09c8 (patch) | |
tree | 79927f5e46b3a196f90c2b93494bb88c35ad06ea /drivers/i2c/busses/i2c-sirf.c | |
parent | a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff) |
i2c: remove __dev* attributes from subsystem
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Acked-by: Peter Korsgaard <peter.korsgaard@barco.com> (for ocores and mux-gpio)
Acked-by: Havard Skinnemoen <hskinnemoen@gmail.com> (for i2c-gpio)
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> (for puf3)
Acked-by: Barry Song <baohua.song@csr.com> (for sirf)
Reviewed-by: Jean Delvare <khali@linux-fr.org>
[wsa: Fixed "foo* bar" flaws while we are here]
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-sirf.c')
-rw-r--r-- | drivers/i2c/busses/i2c-sirf.c | 8 |
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 | ||
261 | static int __devinit i2c_sirfsoc_probe(struct platform_device *pdev) | 261 | static 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 | ||
388 | static int __devexit i2c_sirfsoc_remove(struct platform_device *pdev) | 388 | static 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 | ||
436 | static const struct of_device_id sirfsoc_i2c_of_match[] __devinitconst = { | 436 | static 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 | }; |
454 | module_platform_driver(i2c_sirfsoc_driver); | 454 | module_platform_driver(i2c_sirfsoc_driver); |
455 | 455 | ||