mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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:
parent
7c47bab621
commit
3c8ac0f2ad
24 changed files with 116 additions and 116 deletions
|
@ -922,7 +922,7 @@ static const struct net_device_ops flexcan_netdev_ops = {
|
|||
.ndo_start_xmit = flexcan_start_xmit,
|
||||
};
|
||||
|
||||
static int __devinit register_flexcandev(struct net_device *dev)
|
||||
static int register_flexcandev(struct net_device *dev)
|
||||
{
|
||||
struct flexcan_priv *priv = netdev_priv(dev);
|
||||
struct flexcan_regs __iomem *regs = priv->base;
|
||||
|
@ -968,7 +968,7 @@ static int __devinit register_flexcandev(struct net_device *dev)
|
|||
return err;
|
||||
}
|
||||
|
||||
static void __devexit unregister_flexcandev(struct net_device *dev)
|
||||
static void unregister_flexcandev(struct net_device *dev)
|
||||
{
|
||||
unregister_candev(dev);
|
||||
}
|
||||
|
@ -987,7 +987,7 @@ static const struct platform_device_id flexcan_id_table[] = {
|
|||
};
|
||||
MODULE_DEVICE_TABLE(platform, flexcan_id_table);
|
||||
|
||||
static int __devinit flexcan_probe(struct platform_device *pdev)
|
||||
static int flexcan_probe(struct platform_device *pdev)
|
||||
{
|
||||
const struct of_device_id *of_id;
|
||||
const struct flexcan_devtype_data *devtype_data;
|
||||
|
@ -1109,7 +1109,7 @@ static int __devinit flexcan_probe(struct platform_device *pdev)
|
|||
return err;
|
||||
}
|
||||
|
||||
static int __devexit flexcan_remove(struct platform_device *pdev)
|
||||
static int flexcan_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct net_device *dev = platform_get_drvdata(pdev);
|
||||
struct flexcan_priv *priv = netdev_priv(dev);
|
||||
|
@ -1170,7 +1170,7 @@ static struct platform_driver flexcan_driver = {
|
|||
.of_match_table = flexcan_of_match,
|
||||
},
|
||||
.probe = flexcan_probe,
|
||||
.remove = __devexit_p(flexcan_remove),
|
||||
.remove = flexcan_remove,
|
||||
.suspend = flexcan_suspend,
|
||||
.resume = flexcan_resume,
|
||||
.id_table = flexcan_id_table,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue