diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 11:43:22 -0800 |
commit | c8afa6406e60aec6ff90033e5ffe41a206609296 (patch) | |
tree | fc5f696c1b023fc3f045ad36033b1c23e2a786ad /drivers/power/z2_battery.c | |
parent | 28ea73f4c67cb3dd8c972b21d9fdf84ea78d6daa (diff) | |
download | blackbird-op-linux-c8afa6406e60aec6ff90033e5ffe41a206609296.tar.gz blackbird-op-linux-c8afa6406e60aec6ff90033e5ffe41a206609296.zip |
power: 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: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/power/z2_battery.c')
-rw-r--r-- | drivers/power/z2_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c index 406dbd3d6bff..ebf16296aca3 100644 --- a/drivers/power/z2_battery.c +++ b/drivers/power/z2_battery.c @@ -180,7 +180,7 @@ static int z2_batt_ps_init(struct z2_charger *charger, int props) return 0; } -static int __devinit z2_batt_probe(struct i2c_client *client, +static int z2_batt_probe(struct i2c_client *client, const struct i2c_device_id *id) { int ret = 0; |