diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-06-20 20:35:26 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-24 17:26:36 +0100 |
commit | df33799c5c3262a69acd29b7a4eb9e7cbd1b007c (patch) | |
tree | 6e39ea697a8f974418b13a28f2b370ae05b03ab8 /fs/coda | |
parent | b01d18232587881ae813d4a1d14c8d9a2ac36b15 (diff) | |
download | linux-df33799c5c3262a69acd29b7a4eb9e7cbd1b007c.tar.bz2 |
regulator: s2mps11: Reduce number of rdev_get_id() calls
Store the regulator ID instead of calling rdev_get_id() every time.
This makes code slightly easier to read as shorter 'rdev_id' variable is
used instead of full call. This can also speed things up by reducing
number of calls, although effect was not measured.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/coda')
0 files changed, 0 insertions, 0 deletions