Commit fbdb7fce authored by Bill Pemberton's avatar Bill Pemberton Committed by John W. Linville

libertas: 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: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Dan Williams <dcbw@redhat.com>
Cc: libertas-dev@lists.infradead.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d00064d4
...@@ -1124,7 +1124,7 @@ static void if_spi_resume_worker(struct work_struct *work) ...@@ -1124,7 +1124,7 @@ static void if_spi_resume_worker(struct work_struct *work)
} }
} }
static int __devinit if_spi_probe(struct spi_device *spi) static int if_spi_probe(struct spi_device *spi)
{ {
struct if_spi_card *card; struct if_spi_card *card;
struct lbs_private *priv = NULL; struct lbs_private *priv = NULL;
...@@ -1226,7 +1226,7 @@ static int __devinit if_spi_probe(struct spi_device *spi) ...@@ -1226,7 +1226,7 @@ static int __devinit if_spi_probe(struct spi_device *spi)
return err; return err;
} }
static int __devexit libertas_spi_remove(struct spi_device *spi) static int libertas_spi_remove(struct spi_device *spi)
{ {
struct if_spi_card *card = spi_get_drvdata(spi); struct if_spi_card *card = spi_get_drvdata(spi);
struct lbs_private *priv = card->priv; struct lbs_private *priv = card->priv;
...@@ -1285,7 +1285,7 @@ static const struct dev_pm_ops if_spi_pm_ops = { ...@@ -1285,7 +1285,7 @@ static const struct dev_pm_ops if_spi_pm_ops = {
static struct spi_driver libertas_spi_driver = { static struct spi_driver libertas_spi_driver = {
.probe = if_spi_probe, .probe = if_spi_probe,
.remove = __devexit_p(libertas_spi_remove), .remove = libertas_spi_remove,
.driver = { .driver = {
.name = "libertas_spi", .name = "libertas_spi",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment