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
@@ -981,7 +981,7 @@ static const struct net_device_ops mcp251x_netdev_ops = {
|
||||
.ndo_start_xmit = mcp251x_hard_start_xmit,
|
||||
};
|
||||
|
||||
static int __devinit mcp251x_can_probe(struct spi_device *spi)
|
||||
static int mcp251x_can_probe(struct spi_device *spi)
|
||||
{
|
||||
struct net_device *net;
|
||||
struct mcp251x_priv *priv;
|
||||
@@ -1100,7 +1100,7 @@ error_out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit mcp251x_can_remove(struct spi_device *spi)
|
||||
static int mcp251x_can_remove(struct spi_device *spi)
|
||||
{
|
||||
struct mcp251x_platform_data *pdata = spi->dev.platform_data;
|
||||
struct mcp251x_priv *priv = dev_get_drvdata(&spi->dev);
|
||||
@@ -1198,7 +1198,7 @@ static struct spi_driver mcp251x_can_driver = {
|
||||
|
||||
.id_table = mcp251x_id_table,
|
||||
.probe = mcp251x_can_probe,
|
||||
.remove = __devexit_p(mcp251x_can_remove),
|
||||
.remove = mcp251x_can_remove,
|
||||
.suspend = mcp251x_can_suspend,
|
||||
.resume = mcp251x_can_resume,
|
||||
};
|
||||
|
Reference in New Issue
Block a user