]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: nvec: remove use of __devinit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:22:07 +0000 (13:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 22:23:51 +0000 (14:23 -0800)
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c
drivers/staging/nvec/nvec_kbd.c
drivers/staging/nvec/nvec_paz00.c
drivers/staging/nvec/nvec_power.c
drivers/staging/nvec/nvec_ps2.c

index 0258035b4b0ef3b93a07faf694d69d245bc2c8bf..27881a3523404cc7abd551bb2ee5737f523d54ea 100644 (file)
@@ -716,7 +716,7 @@ static void nvec_power_off(void)
        nvec_write_async(nvec_power_handle, "\x04\x01", 2);
 }
 
-static int __devinit tegra_nvec_probe(struct platform_device *pdev)
+static int tegra_nvec_probe(struct platform_device *pdev)
 {
        int err, ret;
        struct clk *i2c_clk;
index 7c8c603da705f6e401b11baa9c7aa9beaeb66471..9048d597cc6bfebc2d3e967cde5cbc886c8e0754 100644 (file)
@@ -100,7 +100,7 @@ static int nvec_kbd_event(struct input_dev *dev, unsigned int type,
        return 0;
 }
 
-static int __devinit nvec_kbd_probe(struct platform_device *pdev)
+static int nvec_kbd_probe(struct platform_device *pdev)
 {
        struct nvec_chip *nvec = dev_get_drvdata(pdev->dev.parent);
        int i, j, err;
index aab234e97d0b9713fb2c06a784220a937ea1adf4..4ac17fb6a0dc1d65fef5d39bea485fc63ea59a23 100644 (file)
@@ -43,7 +43,7 @@ static void nvec_led_brightness_set(struct led_classdev *led_cdev,
 
 }
 
-static int __devinit nvec_paz00_probe(struct platform_device *pdev)
+static int nvec_paz00_probe(struct platform_device *pdev)
 {
        struct nvec_chip *nvec = dev_get_drvdata(pdev->dev.parent);
        struct nvec_led *led;
index 99e06f661c190c22fcd14b8070e8ed115378fbfe..6c702ed7463de093ceaafa1f55db301b9433bf72 100644 (file)
@@ -368,7 +368,7 @@ static void nvec_power_poll(struct work_struct *work)
        schedule_delayed_work(to_delayed_work(work), msecs_to_jiffies(5000));
 };
 
-static int __devinit nvec_power_probe(struct platform_device *pdev)
+static int nvec_power_probe(struct platform_device *pdev)
 {
        struct power_supply *psy;
        struct nvec_power *power;
index 6375e80e77afa8382714c0c362514780bb1c42fd..59d8f5a76360a3cab4bcb3da881f3b2e912a1c71 100644 (file)
@@ -93,7 +93,7 @@ static int nvec_ps2_notifier(struct notifier_block *nb,
        return NOTIFY_DONE;
 }
 
-static int __devinit nvec_mouse_probe(struct platform_device *pdev)
+static int nvec_mouse_probe(struct platform_device *pdev)
 {
        struct nvec_chip *nvec = dev_get_drvdata(pdev->dev.parent);
        struct serio *ser_dev;