diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-20 10:31:26 +0900 |
commit | a5023574d120ca3b9337cedd4e27de90cae9aff7 (patch) | |
tree | 071ee48554ff7e3f2a7208aac03c892c210dbffc /drivers/regulator/ad5398.c | |
parent | 5eb9f2b96381ac3fa4a5910c37213c1cb62e9c65 (diff) | |
download | linux-3.10-a5023574d120ca3b9337cedd4e27de90cae9aff7.tar.gz linux-3.10-a5023574d120ca3b9337cedd4e27de90cae9aff7.tar.bz2 linux-3.10-a5023574d120ca3b9337cedd4e27de90cae9aff7.zip |
regulator: 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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ad5398.c')
-rw-r--r-- | drivers/regulator/ad5398.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/ad5398.c b/drivers/regulator/ad5398.c index 7921d014bca..cd855d9ac38 100644 --- a/drivers/regulator/ad5398.c +++ b/drivers/regulator/ad5398.c @@ -211,7 +211,7 @@ static const struct i2c_device_id ad5398_id[] = { }; MODULE_DEVICE_TABLE(i2c, ad5398_id); -static int __devinit ad5398_probe(struct i2c_client *client, +static int ad5398_probe(struct i2c_client *client, const struct i2c_device_id *id) { struct regulator_init_data *init_data = client->dev.platform_data; |