aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 18:14:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:16 -0500
commit0fe763c570ad2701c830b9e4e53c65ad89c11c32 (patch)
tree88a648c1cbcda318507d339bf93f1b24af4ff4bf /drivers/remoteproc
parent8d85fce77edfc22f1d6dbf78e3af723b4b556f3d (diff)
Drivers: misc: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/omap_remoteproc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c
index 32c289c2ba13..0e396c155b3b 100644
--- a/drivers/remoteproc/omap_remoteproc.c
+++ b/drivers/remoteproc/omap_remoteproc.c
@@ -179,7 +179,7 @@ static struct rproc_ops omap_rproc_ops = {
179 .kick = omap_rproc_kick, 179 .kick = omap_rproc_kick,
180}; 180};
181 181
182static int __devinit omap_rproc_probe(struct platform_device *pdev) 182static int omap_rproc_probe(struct platform_device *pdev)
183{ 183{
184 struct omap_rproc_pdata *pdata = pdev->dev.platform_data; 184 struct omap_rproc_pdata *pdata = pdev->dev.platform_data;
185 struct omap_rproc *oproc; 185 struct omap_rproc *oproc;
@@ -213,7 +213,7 @@ free_rproc:
213 return ret; 213 return ret;
214} 214}
215 215
216static int __devexit omap_rproc_remove(struct platform_device *pdev) 216static int omap_rproc_remove(struct platform_device *pdev)
217{ 217{
218 struct rproc *rproc = platform_get_drvdata(pdev); 218 struct rproc *rproc = platform_get_drvdata(pdev);
219 219
@@ -225,7 +225,7 @@ static int __devexit omap_rproc_remove(struct platform_device *pdev)
225 225
226static struct platform_driver omap_rproc_driver = { 226static struct platform_driver omap_rproc_driver = {
227 .probe = omap_rproc_probe, 227 .probe = omap_rproc_probe,
228 .remove = __devexit_p(omap_rproc_remove), 228 .remove = omap_rproc_remove,
229 .driver = { 229 .driver = {
230 .name = "omap-rproc", 230 .name = "omap-rproc",
231 .owner = THIS_MODULE, 231 .owner = THIS_MODULE,