diff options
author | Armin Wolf <[email protected]> | 2023-09-07 07:26:35 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-10-27 07:27:23 -0700 |
commit | 7f0b28e0653f36b51542d25dd54ed312c397ecfc (patch) | |
tree | a300c338279007b3ff7d0879bab62658bd44b25d /lib/memory-notifier-error-inject.c | |
parent | 27887b06597bbfef8924985d1ed21db3ab01c417 (diff) |
hwmon: (sch5627) Use bit macros when accessing the control register
Use bit macros then accessing SCH5627_REG_CTRL, so that people
do not need to look at the datasheet to find out what each bit
does.
Tested on a Fujitsu Esprimo P720.
Signed-off-by: Armin Wolf <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions