aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport/parport_sunbpp.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:23:14 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:03 -0500
commit312facaf924edd4db6b81e3a1518adf56c9cd8bd (patch)
treedd8634e94b527e368a184dccfdadd6c26190f5d8 /drivers/parport/parport_sunbpp.c
parentfc52692c49969ec72595766929b9f54ac402da34 (diff)
Drivers: parport: 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, 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> Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Matt Porter <mporter@ti.com> Cc: Kay Sievers <kay@vrfy.org> Cc: Gianluca Anzolin <gianluca@sottospazio.it> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parport/parport_sunbpp.c')
-rw-r--r--drivers/parport/parport_sunbpp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parport/parport_sunbpp.c b/drivers/parport/parport_sunbpp.c
index 983a2d2df659..5c4b6a1db6ca 100644
--- a/drivers/parport/parport_sunbpp.c
+++ b/drivers/parport/parport_sunbpp.c
@@ -265,7 +265,7 @@ static struct parport_operations parport_sunbpp_ops =
265 .owner = THIS_MODULE, 265 .owner = THIS_MODULE,
266}; 266};
267 267
268static int __devinit bpp_probe(struct platform_device *op) 268static int bpp_probe(struct platform_device *op)
269{ 269{
270 struct parport_operations *ops; 270 struct parport_operations *ops;
271 struct bpp_regs __iomem *regs; 271 struct bpp_regs __iomem *regs;
@@ -330,7 +330,7 @@ out_unmap:
330 return err; 330 return err;
331} 331}
332 332
333static int __devexit bpp_remove(struct platform_device *op) 333static int bpp_remove(struct platform_device *op)
334{ 334{
335 struct parport *p = dev_get_drvdata(&op->dev); 335 struct parport *p = dev_get_drvdata(&op->dev);
336 struct parport_operations *ops = p->ops; 336 struct parport_operations *ops = p->ops;
@@ -367,7 +367,7 @@ static struct platform_driver bpp_sbus_driver = {
367 .of_match_table = bpp_match, 367 .of_match_table = bpp_match,
368 }, 368 },
369 .probe = bpp_probe, 369 .probe = bpp_probe,
370 .remove = __devexit_p(bpp_remove), 370 .remove = bpp_remove,
371}; 371};
372 372
373module_platform_driver(bpp_sbus_driver); 373module_platform_driver(bpp_sbus_driver);