mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
hwmon: (lm90) Stop using R_/W_ register prefix
The register write address either matches the read address, or it is the read address plus 6. Simplify the code and resolve the write address programmatically instead of having two defines for each register. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
ca7b9b14a0
commit
f68480cc32
1 changed files with 117 additions and 117 deletions
Loading…
Add table
Add a link
Reference in a new issue