diff options
author | 2014-06-30 10:57:38 -0500 | |
---|---|---|
committer | 2014-07-03 15:25:56 +0100 | |
commit | 429222d00531b348076862ea4fd8cd694bf064a9 (patch) | |
tree | 6da9ac1b5d8e4d33177a9d6169f6995c028d1c5a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: palmas: Rename palmas_regs_info to palmas_generic_regs_info (diff) | |
download | linux-dev-429222d00531b348076862ea4fd8cd694bf064a9.tar.xz linux-dev-429222d00531b348076862ea4fd8cd694bf064a9.zip |
regulator: palmas: Simplify code by not indexing regulator_desc unnecessarily
Palmas regulator needs to full up the regulator_desc based on PMIC and
type of regulator. However, we dont need to do desc[id] every time. we
can simplify by using a pointer to desc[id] and filling up the
parameters.
Signed-off-by: Nishanth Menon <nm@ti.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions