irda: 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: Samuel Ortiz <samuel@sortiz.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
bb1f460675
commit
45ac936c3e
@@ -31,7 +31,7 @@ static void turnaround_delay(unsigned long last_jif, int mtt)
|
||||
schedule_timeout_uninterruptible(ticks);
|
||||
}
|
||||
|
||||
static void __devinit bfin_sir_init_ports(struct bfin_sir_port *sp, struct platform_device *pdev)
|
||||
static void bfin_sir_init_ports(struct bfin_sir_port *sp, struct platform_device *pdev)
|
||||
{
|
||||
int i;
|
||||
struct resource *res;
|
||||
@@ -688,7 +688,7 @@ static const struct net_device_ops bfin_sir_ndo = {
|
||||
.ndo_get_stats = bfin_sir_stats,
|
||||
};
|
||||
|
||||
static int __devinit bfin_sir_probe(struct platform_device *pdev)
|
||||
static int bfin_sir_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct net_device *dev;
|
||||
struct bfin_sir_self *self;
|
||||
@@ -775,7 +775,7 @@ err_mem_0:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit bfin_sir_remove(struct platform_device *pdev)
|
||||
static int bfin_sir_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct bfin_sir_port *sir_port;
|
||||
struct net_device *dev = NULL;
|
||||
@@ -798,7 +798,7 @@ static int __devexit bfin_sir_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver bfin_ir_driver = {
|
||||
.probe = bfin_sir_probe,
|
||||
.remove = __devexit_p(bfin_sir_remove),
|
||||
.remove = bfin_sir_remove,
|
||||
.suspend = bfin_sir_suspend,
|
||||
.resume = bfin_sir_resume,
|
||||
.driver = {
|
||||
|
Reference in New Issue
Block a user