Skip to contentSkip to conversation

mfd: tps6105x: Remove linux/regulator/driver.h include

PATCH Applied Mark Brown 2 participants 2 messages Apr 20, 2016 – Apr 25, 2016 Multifunction devices (MFD)

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: tps6105x: Remove linux/regulator/driver.h include

This driver makes no use of linux/regulator/driver.h which should only be used by drivers implementing a regulator. Since it's unlikely to ever need anything from there remove the include.

---
 drivers/mfd/tps6105x.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/tps6105x.c +0 -1
index 51c54951c220..baa12ea666fb 100644
@@ -21,7 +21,6 @@
 #include <linux/spinlock.h>
 #include <linux/slab.h>
 #include <linux/err.h>
-#include <linux/regulator/driver.h>
 #include <linux/mfd/core.h>
 #include <linux/mfd/tps6105x.h>
 
Signature · 1 line
2.8.0.rc3
Applied
#1 lore raw
Quoted 8 lines · Mark Brown

This driver makes no use of linux/regulator/driver.h which should only be used by drivers implementing a regulator. Since it's unlikely to ever need anything from there remove the include.

---
 drivers/mfd/tps6105x.c | 1 -
 1 file changed, 1 deletion(-)

Applied, thanks.

Quoted 12 lines
drivers/mfd/tps6105x.c +0 -1
index 51c54951c220..baa12ea666fb 100644
@@ -21,7 +21,6 @@
 #include <linux/spinlock.h>
 #include <linux/slab.h>
 #include <linux/err.h>
-#include <linux/regulator/driver.h>
 #include <linux/mfd/core.h>
 #include <linux/mfd/tps6105x.h>
 
Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog