]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (max1668) Use BIT macro
authorGuenter Roeck <linux@roeck-us.net>
Mon, 15 Jul 2024 14:22:44 +0000 (07:22 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 31 Jul 2024 17:43:53 +0000 (10:43 -0700)
commit696dbe45fb1739eee853b1a110b5001b898031c8
tree04cb1a73d6741414a94e37cd9c89935acd146896
parent74b6451beb8b2cda63b19aff680d4517a0955242
hwmon: (max1668) Use BIT macro

Use bit macro to make the code easier to understand and reduce duplication.

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