public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include
@ 2016-04-20 16:40 Mark Brown
  2016-04-25 14:34 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2016-04-20 16:40 UTC (permalink / raw)
  To: Lee Jones; +Cc: linux-kernel, 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.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/mfd/tps6105x.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mfd/tps6105x.c b/drivers/mfd/tps6105x.c
index 51c54951c220..baa12ea666fb 100644
--- a/drivers/mfd/tps6105x.c
+++ b/drivers/mfd/tps6105x.c
@@ -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>
 
-- 
2.8.0.rc3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include
  2016-04-20 16:40 [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include Mark Brown
@ 2016-04-25 14:34 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2016-04-25 14:34 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-kernel

On Wed, 20 Apr 2016, Mark Brown wrote:

> 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.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
>  drivers/mfd/tps6105x.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/mfd/tps6105x.c b/drivers/mfd/tps6105x.c
> index 51c54951c220..baa12ea666fb 100644
> --- a/drivers/mfd/tps6105x.c
> +++ b/drivers/mfd/tps6105x.c
> @@ -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>
>  

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-25 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-20 16:40 [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include Mark Brown
2016-04-25 14:34 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox