aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2019-06-30 15:14:19 -0700
committerGuenter Roeck <[email protected]>2019-07-08 18:11:30 -0700
commitb849e5d18c366eae8185837bd7c4adbd27213fe2 (patch)
tree1406036f3979185c8e62a1f32147602e0f2864bc /scripts/gdb/vmlinux-gdb.py
parent62456189f3292c62f87aef363f204886dc1d4b48 (diff)
hwmon: (lm90) Cache configuration register value
The configuration register does not change on its own. Yet, it is read in various locations, modified, and written back. Simplify and optimize the code by caching its value and by only writing it back when needed. Cc: Boyang Yu <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions