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

From: Lee Jones
Date: Mon Apr 25 2016 - 10:34:49 EST


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@xxxxxxxxxx>
> ---
> 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