Skip to content

Commit

Permalink
libertas: remove __dev* attributes
Browse files Browse the repository at this point in the history
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: Dan Williams <dcbw@redhat.com>
Cc: libertas-dev@lists.infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Bill Pemberton authored and John W. Linville committed Dec 6, 2012
1 parent d00064d commit fbdb7fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/libertas/if_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 lbs_private *priv = NULL;
Expand Down Expand Up @@ -1226,7 +1226,7 @@ static int __devinit if_spi_probe(struct spi_device *spi)
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 lbs_private *priv = card->priv;
Expand Down Expand Up @@ -1285,7 +1285,7 @@ static const struct dev_pm_ops if_spi_pm_ops = {

static struct spi_driver libertas_spi_driver = {
.probe = if_spi_probe,
.remove = __devexit_p(libertas_spi_remove),
.remove = libertas_spi_remove,
.driver = {
.name = "libertas_spi",
.owner = THIS_MODULE,
Expand Down

0 comments on commit fbdb7fc

Please sign in to comment.