]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (amc6821) Use BIT() and GENMASK()
authorGuenter Roeck <linux@roeck-us.net>
Thu, 27 Jun 2024 16:46:12 +0000 (09:46 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 8 Jul 2024 14:52:36 +0000 (07:52 -0700)
commita9c2f41f02aba3ceb0f9f795dc00753a52b284cd
tree61584fd72f41504bd240ddb641655066ee9d3f20
parentd632e82993899a837ba0efb6679584aa3efc16b6
hwmon: (amc6821) Use BIT() and GENMASK()

Use BIT() and GENMASK() for bit and mask definitions
to help distinguish bit and mask definitions from other
defines and to make the code easier to read.

No functional change intended.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/amc6821.c