Skip to contentSkip to conversation

mfd: arizona: Remove totally unused forward declaration

PATCH Applied Charles Keepax 2 participants 2 messages Nov 28, 2016 – Jan 3, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: arizona: Remove totally unused forward declaration

This declaration has never been used and is likely some left over from early prototypes of the code, just remove it.

---
 drivers/mfd/arizona.h | 2 --
 1 file changed, 2 deletions(-)
drivers/mfd/arizona.h +0 -2
index 198e9ce..a0bddc5 100644
@@ -17,8 +17,6 @@
 #include <linux/regmap.h>
 #include <linux/pm.h>
 
-struct wm_arizona;
-
 extern const struct regmap_config wm5102_i2c_regmap;
 extern const struct regmap_config wm5102_spi_regmap;
 
Signature · 1 line
2.1.4
Applied
#1 lore raw
Quoted 7 lines · Charles Keepax

This declaration has never been used and is likely some left over from early prototypes of the code, just remove it.

---
 drivers/mfd/arizona.h | 2 --
 1 file changed, 2 deletions(-)

Applied, thanks.

Quoted 13 lines
drivers/mfd/arizona.h +0 -2
index 198e9ce..a0bddc5 100644
@@ -17,8 +17,6 @@
 #include <linux/regmap.h>
 #include <linux/pm.h>
 
-struct wm_arizona;
-
 extern const struct regmap_config wm5102_i2c_regmap;
 extern const struct regmap_config wm5102_spi_regmap;
 
Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog