can: 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: Wolfgang Grandegger <wg@grandegger.com> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: linux-can@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7c47bab621
commit
3c8ac0f2ad
@@ -75,7 +75,7 @@ static void cc770_platform_write_reg(const struct cc770_priv *priv, int reg,
|
||||
iowrite8(val, priv->reg_base + reg);
|
||||
}
|
||||
|
||||
static int __devinit cc770_get_of_node_data(struct platform_device *pdev,
|
||||
static int cc770_get_of_node_data(struct platform_device *pdev,
|
||||
struct cc770_priv *priv)
|
||||
{
|
||||
struct device_node *np = pdev->dev.of_node;
|
||||
@@ -148,7 +148,7 @@ static int __devinit cc770_get_of_node_data(struct platform_device *pdev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devinit cc770_get_platform_data(struct platform_device *pdev,
|
||||
static int cc770_get_platform_data(struct platform_device *pdev,
|
||||
struct cc770_priv *priv)
|
||||
{
|
||||
|
||||
@@ -164,7 +164,7 @@ static int __devinit cc770_get_platform_data(struct platform_device *pdev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devinit cc770_platform_probe(struct platform_device *pdev)
|
||||
static int cc770_platform_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct net_device *dev;
|
||||
struct cc770_priv *priv;
|
||||
@@ -238,7 +238,7 @@ exit_release_mem:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit cc770_platform_remove(struct platform_device *pdev)
|
||||
static int cc770_platform_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct net_device *dev = dev_get_drvdata(&pdev->dev);
|
||||
struct cc770_priv *priv = netdev_priv(dev);
|
||||
@@ -254,7 +254,7 @@ static int __devexit cc770_platform_remove(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct of_device_id __devinitdata cc770_platform_table[] = {
|
||||
static struct of_device_id cc770_platform_table[] = {
|
||||
{.compatible = "bosch,cc770"}, /* CC770 from Bosch */
|
||||
{.compatible = "intc,82527"}, /* AN82527 from Intel CP */
|
||||
{},
|
||||
@@ -268,7 +268,7 @@ static struct platform_driver cc770_platform_driver = {
|
||||
.of_match_table = cc770_platform_table,
|
||||
},
|
||||
.probe = cc770_platform_probe,
|
||||
.remove = __devexit_p(cc770_platform_remove),
|
||||
.remove = cc770_platform_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(cc770_platform_driver);
|
||||
|
||||
Reference in New Issue
Block a user