2012-10-07 13:29:30

by Wei Yongjun

[permalink] [raw]
Subject: [PATCH] spi: omap2-mcspi: remove duplicated include from spi-omap2-mcspi.c

From: Wei Yongjun <[email protected]>

Remove duplicated include.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <[email protected]>
---
drivers/spi/spi-omap2-mcspi.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c
index 474e217..b8b2f03 100644
--- a/drivers/spi/spi-omap2-mcspi.c
+++ b/drivers/spi/spi-omap2-mcspi.c
@@ -39,7 +39,6 @@
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/pinctrl/consumer.h>
-#include <linux/err.h>

#include <linux/spi/spi.h>


2012-11-14 15:54:33

by Grant Likely

[permalink] [raw]
Subject: Re: [PATCH] spi: omap2-mcspi: remove duplicated include from spi-omap2-mcspi.c

On Sun, 7 Oct 2012 21:29:21 +0800, Wei Yongjun <[email protected]> wrote:
> From: Wei Yongjun <[email protected]>
>
> Remove duplicated include.

Applied, thanks.

> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)

Since I have to manually remove the above cruft from commit logs, can
you please omit it from the commit text when posting patches?

Thanks,
g.

>
> Signed-off-by: Wei Yongjun <[email protected]>
> ---
> drivers/spi/spi-omap2-mcspi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c
> index 474e217..b8b2f03 100644
> --- a/drivers/spi/spi-omap2-mcspi.c
> +++ b/drivers/spi/spi-omap2-mcspi.c
> @@ -39,7 +39,6 @@
> #include <linux/of.h>
> #include <linux/of_device.h>
> #include <linux/pinctrl/consumer.h>
> -#include <linux/err.h>
>
> #include <linux/spi/spi.h>
>
>

--
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies, Ltd.

2012-11-16 02:21:22

by Wei Yongjun

[permalink] [raw]
Subject: Re: [PATCH] spi: omap2-mcspi: remove duplicated include from spi-omap2-mcspi.c

On 11/14/2012 11:54 PM, Grant Likely wrote:
> On Sun, 7 Oct 2012 21:29:21 +0800, Wei Yongjun <[email protected]> wrote:
>> From: Wei Yongjun <[email protected]>
>>
>> Remove duplicated include.
> Applied, thanks.
>
>> dpatch engine is used to auto generate this patch.
>> (https://github.com/weiyj/dpatch)
> Since I have to manually remove the above cruft from commit logs, can
> you please omit it from the commit text when posting patches?
>
> Thanks,
> g.

will do it, thanks.