diff options
author | 2022-10-31 22:51:40 +0100 | |
---|---|---|
committer | 2022-12-04 16:45:02 -0800 | |
commit | 78d448a3725584b7c46d3d881035943f759135fd (patch) | |
tree | d542d3757810447287add66cbb5531e76c51a01f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (pmbus/ltc2978) add support for LTC7132 (diff) | |
download | wireguard-linux-78d448a3725584b7c46d3d881035943f759135fd.tar.xz wireguard-linux-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions