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>
This commit is contained in:
@@ -265,7 +265,7 @@ static struct parport_operations parport_sunbpp_ops =
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int __devinit bpp_probe(struct platform_device *op)
|
||||
static int bpp_probe(struct platform_device *op)
|
||||
{
|
||||
struct parport_operations *ops;
|
||||
struct bpp_regs __iomem *regs;
|
||||
@@ -330,7 +330,7 @@ out_unmap:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit bpp_remove(struct platform_device *op)
|
||||
static int bpp_remove(struct platform_device *op)
|
||||
{
|
||||
struct parport *p = dev_get_drvdata(&op->dev);
|
||||
struct parport_operations *ops = p->ops;
|
||||
@@ -367,7 +367,7 @@ static struct platform_driver bpp_sbus_driver = {
|
||||
.of_match_table = bpp_match,
|
||||
},
|
||||
.probe = bpp_probe,
|
||||
.remove = __devexit_p(bpp_remove),
|
||||
.remove = bpp_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(bpp_sbus_driver);
|
||||
|
Reference in New Issue
Block a user