SPARC: drivers: 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: "David S. Miller" <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#define APC_DEVNAME "apc"
|
||||
|
||||
static u8 __iomem *regs;
|
||||
static int apc_no_idle __devinitdata = 0;
|
||||
static int apc_no_idle = 0;
|
||||
|
||||
#define apc_readb(offs) (sbus_readb(regs+offs))
|
||||
#define apc_writeb(val, offs) (sbus_writeb(val, regs+offs))
|
||||
@@ -138,7 +138,7 @@ static const struct file_operations apc_fops = {
|
||||
|
||||
static struct miscdevice apc_miscdev = { APC_MINOR, APC_DEVNAME, &apc_fops };
|
||||
|
||||
static int __devinit apc_probe(struct platform_device *op)
|
||||
static int apc_probe(struct platform_device *op)
|
||||
{
|
||||
int err;
|
||||
|
||||
|
Reference in New Issue
Block a user