Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383565 > unrolled thread

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

Started byMark Brown <broonie@kernel.org>
First post2016-04-20 18:50 +0200
Last post2016-04-25 16:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include Mark Brown <broonie@kernel.org> - 2016-04-20 18:50 +0200
    Re: [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include Lee Jones <lee.jones@linaro.org> - 2016-04-25 16:40 +0200

#1383565 — [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include

FromMark Brown <broonie@kernel.org>
Date2016-04-20 18:50 +0200
Subject[PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include
Message-ID<rq3uc-2ta-35@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1386533

FromLee Jones <lee.jones@linaro.org>
Date2016-04-25 16:40 +0200
Message-ID<rrPQ7-7se-35@gated-at.bofh.it>
In reply to#1383565
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web