Skip to content

Commit

Permalink
staging: lirc: remove use of __devinit
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 01f6f49 commit fd8413a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/media/lirc/lirc_parallel.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ static struct lirc_driver driver = {

static struct platform_device *lirc_parallel_dev;

static int __devinit lirc_parallel_probe(struct platform_device *dev)
static int lirc_parallel_probe(struct platform_device *dev)
{
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/media/lirc/lirc_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ static int hardware_init_port(void)
return 0;
}

static int __devinit lirc_serial_probe(struct platform_device *dev)
static int lirc_serial_probe(struct platform_device *dev)
{
int i, nlow, nhigh, result;

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/media/lirc/lirc_sir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ static int init_lirc_sir(void)
return 0;
}

static int __devinit lirc_sir_probe(struct platform_device *dev)
static int lirc_sir_probe(struct platform_device *dev)
{
return 0;
}
Expand Down

0 comments on commit fd8413a

Please sign in to comment.