diff options
author | Alexandru Ardelean <[email protected]> | 2020-08-03 08:43:11 +0300 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2020-08-04 14:27:20 -0700 |
commit | dfddc57c9971b213214cada1dcf26ef27f419b5c (patch) | |
tree | f680fb8e4f342dafd7fd9fddca6b40c2ab4dc189 | |
parent | 2207515db60a6885e11069251d4f4ca4bf3abb6b (diff) |
hwmon: (axi-fan-control) remove duplicate macros
These macros are also present in the "include/linux/fpga/adi-axi-common.h"
file which is included in this driver.
This patch removes them from the AXI Fan Control driver. No sense in having
them in 2 places.
Signed-off-by: Alexandru Ardelean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
-rw-r--r-- | drivers/hwmon/axi-fan-control.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hwmon/axi-fan-control.c b/drivers/hwmon/axi-fan-control.c index 38d9cdb3db1a..e3f6b03e6764 100644 --- a/drivers/hwmon/axi-fan-control.c +++ b/drivers/hwmon/axi-fan-control.c @@ -15,10 +15,6 @@ #include <linux/of.h> #include <linux/platform_device.h> -#define ADI_AXI_PCORE_VER_MAJOR(version) (((version) >> 16) & 0xff) -#define ADI_AXI_PCORE_VER_MINOR(version) (((version) >> 8) & 0xff) -#define ADI_AXI_PCORE_VER_PATCH(version) ((version) & 0xff) - /* register map */ #define ADI_REG_RSTN 0x0080 #define ADI_REG_PWM_WIDTH 0x0084 |