aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2019-06-20 20:35:26 +0200
committerMark Brown <[email protected]>2019-06-24 17:26:36 +0100
commitdf33799c5c3262a69acd29b7a4eb9e7cbd1b007c (patch)
tree6e39ea697a8f974418b13a28f2b370ae05b03ab8 /lib/test_overflow.c
parentb01d18232587881ae813d4a1d14c8d9a2ac36b15 (diff)
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions