hwmon: (mlxreg-fan) Modify macros for tachometer fault status reading
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 20 Nov 2018 23:16:36 +0000 (23:16 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 16 Dec 2018 23:13:16 +0000 (15:13 -0800)
commit3f9ffa5c3a25bf2a3c880b07f620c8ef029dc261
tree9bfd86347cbb61635fc5d2202fde2d7ace56c37a
parent9a629d7ada78c32e2100eb5ca6a25c6248d90bd9
hwmon: (mlxreg-fan) Modify macros for tachometer fault status reading

Modify macros for tachometer fault status reading for making it more
simple and clear.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/mlxreg-fan.c