Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Bill Pemberton and committed by
John W. Linville
fbdb7fce d00064d4

+3 -3
+3 -3
drivers/net/wireless/libertas/if_spi.c
··· 1124 1124 } 1125 1125 } 1126 1126 1127 - static int __devinit if_spi_probe(struct spi_device *spi) 1127 + static int if_spi_probe(struct spi_device *spi) 1128 1128 { 1129 1129 struct if_spi_card *card; 1130 1130 struct lbs_private *priv = NULL; ··· 1226 1226 return err; 1227 1227 } 1228 1228 1229 - static int __devexit libertas_spi_remove(struct spi_device *spi) 1229 + static int libertas_spi_remove(struct spi_device *spi) 1230 1230 { 1231 1231 struct if_spi_card *card = spi_get_drvdata(spi); 1232 1232 struct lbs_private *priv = card->priv; ··· 1285 1285 1286 1286 static struct spi_driver libertas_spi_driver = { 1287 1287 .probe = if_spi_probe, 1288 - .remove = __devexit_p(libertas_spi_remove), 1288 + .remove = libertas_spi_remove, 1289 1289 .driver = { 1290 1290 .name = "libertas_spi", 1291 1291 .owner = THIS_MODULE,