Skip to content
Commit 78d448a3 authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Guenter Roeck
Browse files

hwmon: (jc42) Consistently use bit and bitfield macros in the driver



Use BIT() and GENMASK() macros for defining the bitfields inside the
registers. Also use FIELD_GET() and FIELD_PREP() where appropriate. This
makes the coding style within the driver consistent. No functional
changes intended.

Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent daec55ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment