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


Groups > linux.kernel > #1386533

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

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mfd: tps6105x: Remove linux/regulator/driver.h include
Date 2016-04-25 16:40 +0200
Message-ID <rrPQ7-7se-35@gated-at.bofh.it> (permalink)
References <rq3uc-2ta-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[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

csiph-web