diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-11-30 11:09:42 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-12-11 09:43:53 +0100 |
commit | b0284de05e07d56ff7de154d0c9263788755f5eb (patch) | |
tree | 31821d80be26bdbc701f86192da26489d30c3d9a /drivers/power/ab8500_bmdata.c | |
parent | ab8500-bmdata: Re-jiggle bmdevs_of_probe to be more succinct (diff) | |
download | linux-b0284de05e07d56ff7de154d0c9263788755f5eb.tar.xz linux-b0284de05e07d56ff7de154d0c9263788755f5eb.zip |
ab8500_bm: Rename battery management platform data to something more logical
The platform specific battery management configuration data structure
is currently called 'bat' short for 'battery'; however, it contains
information for all components of the battery management group, rather
than information pertaining to the battery itself - there are other
structures for that. So, in keeping with its structure namesake
'abx500_bm_data', we rename it to 'bm' here. Using similar logic,
we're also renaming 'bmdevs_of_probe' to the more device specific
'ab8500_bm_of_probe'.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/power/ab8500_bmdata.c')
-rw-r--r-- | drivers/power/ab8500_bmdata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/ab8500_bmdata.c b/drivers/power/ab8500_bmdata.c index df5a590d760e..c2fb2c554019 100644 --- a/drivers/power/ab8500_bmdata.c +++ b/drivers/power/ab8500_bmdata.c @@ -452,9 +452,9 @@ struct abx500_bm_data ab8500_bm_data = { .fg_params = &fg, }; -int __devinit bmdevs_of_probe(struct device *dev, - struct device_node *np, - struct abx500_bm_data **battery) +int __devinit ab8500_bm_of_probe(struct device *dev, + struct device_node *np, + struct abx500_bm_data **battery) { struct batres_vs_temp *tmp_batres_tbl; struct device_node *np_bat_supply; |