Skip to content

Commit

Permalink
staging: nvec: 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: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
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 44b90a3 commit 4662080
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/nvec/nvec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/nvec/nvec_kbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/nvec/nvec_paz00.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/nvec/nvec_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/nvec/nvec_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4662080

Please sign in to comment.