summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/ttpci/av7110_ir.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2012-12-21 22:17:53 +0100
committerGreg Kroah-Hartman2013-01-04 00:57:02 +0100
commit4c62e9764ab403d42f9b8871b1241fe7812f19d4 (patch)
treeb4ae1ce3993ebf1d64660ba16362f9ef3de73074 /drivers/media/pci/ttpci/av7110_ir.c
parentDrivers: amba: remove __dev* attributes. (diff)
downloadkernel-qcow2-linux-4c62e9764ab403d42f9b8871b1241fe7812f19d4.tar.gz
kernel-qcow2-linux-4c62e9764ab403d42f9b8871b1241fe7812f19d4.tar.xz
kernel-qcow2-linux-4c62e9764ab403d42f9b8871b1241fe7812f19d4.zip
Drivers: media: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/pci/ttpci/av7110_ir.c')
-rw-r--r--drivers/media/pci/ttpci/av7110_ir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/ttpci/av7110_ir.c b/drivers/media/pci/ttpci/av7110_ir.c
index 908f272fe26c..eb822862a646 100644
--- a/drivers/media/pci/ttpci/av7110_ir.c
+++ b/drivers/media/pci/ttpci/av7110_ir.c
@@ -324,7 +324,7 @@ static void ir_handler(struct av7110 *av7110, u32 ircom)
}
-int __devinit av7110_ir_init(struct av7110 *av7110)
+int av7110_ir_init(struct av7110 *av7110)
{
struct input_dev *input_dev;
static struct proc_dir_entry *e;
@@ -385,7 +385,7 @@ int __devinit av7110_ir_init(struct av7110 *av7110)
}
-void __devexit av7110_ir_exit(struct av7110 *av7110)
+void av7110_ir_exit(struct av7110 *av7110)
{
int i;