hwmon: (max6697) Use bit operations where possible
authorGuenter Roeck <linux@roeck-us.net>
Fri, 12 Jul 2024 21:46:19 +0000 (14:46 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 31 Jul 2024 17:43:52 +0000 (10:43 -0700)
commitc02b25dcf64b07990a75292a83486b5348f3561e
tree10b1286b43ef1e791599e4fef7650965c683f9f6
parentf81489a136ac2c18a7b9bb22cf37c0a6f6d58545
hwmon: (max6697) Use bit operations where possible

Use bit operations to improve code maintainability.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max6697.c