hwmon: (tacho) Remove an unused variable
Subsystems (3)
PATCH 2/2 hwmon: (tacho) Remove an unused variable
We never use this global variable.
Signed-off-by Dan Carpenter <[email protected]>
drivers/hwmon/aspeed-pwm-tacho.c +0 -2
@@ -153,8 +153,6 @@#define M_TACH_UNIT 0x1000#define INIT_FAN_CTRL 0xFF -void __iomem *regs; -struct aspeed_pwm_tacho_data {struct regmap *regmap;unsigned long clk_freq;
Quoted 3 lines · Dan Carpenter
We never use this global variable.
Signed-off-by Dan Carpenter <[email protected]>
Acked-by Joel Stanley <[email protected]>
Quoted 14 lines
drivers/hwmon/aspeed-pwm-tacho.c +0
-2@@ -153,8 +153,6 @@#define M_TACH_UNIT 0x1000#define INIT_FAN_CTRL 0xFF -void __iomem *regs; -struct aspeed_pwm_tacho_data {struct regmap *regmap;unsigned long clk_freq;