summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/lm3630_bl.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:21:46 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 12:05:39 -0800
commit1b9e450de105c1429a15f4e2566695f4f425672a (patch)
treec708fcf189b6c9ea657adcee57f66afd9af1a662 /drivers/video/backlight/lm3630_bl.c
parentd1723fa266aff677571cad0bac7203ed2e424823 (diff)
downloadlinux-rt-1b9e450de105c1429a15f4e2566695f4f425672a.tar.gz
backlight: 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: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Acked-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/backlight/lm3630_bl.c')
-rw-r--r--drivers/video/backlight/lm3630_bl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/lm3630_bl.c b/drivers/video/backlight/lm3630_bl.c
index d407855fbcc5..cbc58d773b97 100644
--- a/drivers/video/backlight/lm3630_bl.c
+++ b/drivers/video/backlight/lm3630_bl.c
@@ -55,7 +55,7 @@ struct lm3630_chip_data {
};
/* initialize chip */
-static int __devinit lm3630_chip_init(struct lm3630_chip_data *pchip)
+static int lm3630_chip_init(struct lm3630_chip_data *pchip)
{
int ret;
unsigned int reg_val;
@@ -349,7 +349,7 @@ static const struct regmap_config lm3630_regmap = {
.max_register = REG_MAX,
};
-static int __devinit lm3630_probe(struct i2c_client *client,
+static int lm3630_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct lm3630_platform_data *pdata = client->dev.platform_data;