forked from Minki/linux
ehea: remove __dev* attributes
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> Cc: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3bc6b06ce0
commit
0297be0709
@ -98,10 +98,10 @@ static struct ehea_fw_handle_array ehea_fw_handles;
|
||||
static struct ehea_bcmc_reg_array ehea_bcmc_regs;
|
||||
|
||||
|
||||
static int __devinit ehea_probe_adapter(struct platform_device *dev,
|
||||
static int ehea_probe_adapter(struct platform_device *dev,
|
||||
const struct of_device_id *id);
|
||||
|
||||
static int __devexit ehea_remove(struct platform_device *dev);
|
||||
static int ehea_remove(struct platform_device *dev);
|
||||
|
||||
static struct of_device_id ehea_device_table[] = {
|
||||
{
|
||||
@ -2909,7 +2909,7 @@ static ssize_t ehea_show_port_id(struct device *dev,
|
||||
static DEVICE_ATTR(log_port_id, S_IRUSR | S_IRGRP | S_IROTH, ehea_show_port_id,
|
||||
NULL);
|
||||
|
||||
static void __devinit logical_port_release(struct device *dev)
|
||||
static void logical_port_release(struct device *dev)
|
||||
{
|
||||
struct ehea_port *port = container_of(dev, struct ehea_port, ofdev.dev);
|
||||
of_node_put(port->ofdev.dev.of_node);
|
||||
@ -3257,7 +3257,7 @@ static void ehea_remove_device_sysfs(struct platform_device *dev)
|
||||
device_remove_file(&dev->dev, &dev_attr_remove_port);
|
||||
}
|
||||
|
||||
static int __devinit ehea_probe_adapter(struct platform_device *dev,
|
||||
static int ehea_probe_adapter(struct platform_device *dev,
|
||||
const struct of_device_id *id)
|
||||
{
|
||||
struct ehea_adapter *adapter;
|
||||
@ -3364,7 +3364,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ehea_remove(struct platform_device *dev)
|
||||
static int ehea_remove(struct platform_device *dev)
|
||||
{
|
||||
struct ehea_adapter *adapter = dev_get_drvdata(&dev->dev);
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user