aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parser.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2022-10-31 22:51:40 +0100
committerGuenter Roeck <linux@roeck-us.net>2022-12-04 16:45:02 -0800
commit78d448a3725584b7c46d3d881035943f759135fd (patch)
treed542d3757810447287add66cbb5531e76c51a01f /lib/parser.c
parenthwmon: (pmbus/ltc2978) add support for LTC7132 (diff)
downloadlinux-rng-78d448a3725584b7c46d3d881035943f759135fd.tar.xz
linux-rng-78d448a3725584b7c46d3d881035943f759135fd.zip
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: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions