diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 19:23:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 21:34:57 +0100 |
commit | 98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7 (patch) | |
tree | 998114c044f2d252299b8ae27cad03e111c64eb0 /drivers/leds/leds-max8997.c | |
parent | leds: remove use of __devexit_p (diff) | |
download | linux-98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7.tar.xz linux-98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7.zip |
leds: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Jan-Simon Moeller <jansimon.moeller@gmx.de>
Acked-by: Bryan Wu <cooloney@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/leds/leds-max8997.c')
-rw-r--r-- | drivers/leds/leds-max8997.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-max8997.c b/drivers/leds/leds-max8997.c index b11a5a72bc3e..f8db895acaf5 100644 --- a/drivers/leds/leds-max8997.c +++ b/drivers/leds/leds-max8997.c @@ -229,7 +229,7 @@ static ssize_t max8997_led_store_mode(struct device *dev, static DEVICE_ATTR(mode, 0644, max8997_led_show_mode, max8997_led_store_mode); -static int __devinit max8997_led_probe(struct platform_device *pdev) +static int max8997_led_probe(struct platform_device *pdev) { struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); struct max8997_platform_data *pdata = dev_get_platdata(iodev->dev); |