staging: lirc: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:27:10 +0000 (13:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:09:58 +0000 (15:09 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit 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 f600c67b326f21df539d813b6991ae824cc494af..ec14bc81851b38838de4abca6e83b9e8bd7aa4ee 100644 (file)
@@ -588,7 +588,7 @@ static int lirc_parallel_probe(struct platform_device *dev)
        return 0;
 }
 
-static int __devexit lirc_parallel_remove(struct platform_device *dev)
+static int lirc_parallel_remove(struct platform_device *dev)
 {
        return 0;
 }
index e182da4a97962d46873978d7260f9ca375d3a5d4..71e3bf2937f9bf0ffc0674f491d5ad67532c1d56 100644 (file)
@@ -927,7 +927,7 @@ exit_free_irq:
        return result;
 }
 
-static int __devexit lirc_serial_remove(struct platform_device *dev)
+static int lirc_serial_remove(struct platform_device *dev)
 {
        free_irq(irq, (void *)&hardware);
 
index 9c211e72ea5bbd11b7b984575c61a54648355a6a..a45799874a21cf7ded13745c508ec99410b09f25 100644 (file)
@@ -1223,7 +1223,7 @@ static int lirc_sir_probe(struct platform_device *dev)
        return 0;
 }
 
-static int __devexit lirc_sir_remove(struct platform_device *dev)
+static int lirc_sir_remove(struct platform_device *dev)
 {
        return 0;
 }