staging: lirc: remove use of __devinit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:22:15 +0000 (13:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:09:57 +0000 (15:09 -0800)
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>
drivers/staging/media/lirc/lirc_parallel.c
drivers/staging/media/lirc/lirc_serial.c
drivers/staging/media/lirc/lirc_sir.c

index 610230f535bf11211485db21d6c297c527362f43..f600c67b326f21df539d813b6991ae824cc494af 100644 (file)
@@ -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;
 }
index 002f3253b9ef809ca298713fd5f599e2a2dbc912..e182da4a97962d46873978d7260f9ca375d3a5d4 100644 (file)
@@ -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;
 
index 420e3df466d5d0e8737e117cf66b8908763dbdb7..9c211e72ea5bbd11b7b984575c61a54648355a6a 100644 (file)
@@ -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;
 }