diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:21:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 12:05:39 -0800 |
commit | 1b9e450de105c1429a15f4e2566695f4f425672a (patch) | |
tree | c708fcf189b6c9ea657adcee57f66afd9af1a662 /drivers/video/backlight/lm3639_bl.c | |
parent | d1723fa266aff677571cad0bac7203ed2e424823 (diff) | |
download | talos-obmc-linux-1b9e450de105c1429a15f4e2566695f4f425672a.tar.gz talos-obmc-linux-1b9e450de105c1429a15f4e2566695f4f425672a.zip |
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/lm3639_bl.c')
-rw-r--r-- | drivers/video/backlight/lm3639_bl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c index 1bc53736ceab..de292c11f643 100644 --- a/drivers/video/backlight/lm3639_bl.c +++ b/drivers/video/backlight/lm3639_bl.c @@ -48,7 +48,7 @@ struct lm3639_chip_data { }; /* initialize chip */ -static int __devinit lm3639_chip_init(struct lm3639_chip_data *pchip) +static int lm3639_chip_init(struct lm3639_chip_data *pchip) { int ret; unsigned int reg_val; @@ -299,7 +299,7 @@ static const struct regmap_config lm3639_regmap = { .max_register = REG_MAX, }; -static int __devinit lm3639_probe(struct i2c_client *client, +static int lm3639_probe(struct i2c_client *client, const struct i2c_device_id *id) { int ret; |