2020-03-30 02:22:52

by Hu Haowen

[permalink] [raw]
Subject: [PATCH] pcmcia: remove some unused space characters

There are a few space characters I found by chance. I think they are
redundant, so I removed them.

Signed-off-by: Hu Haowen <[email protected]>
---
drivers/pcmcia/sa1100_simpad.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pcmcia/sa1100_simpad.c b/drivers/pcmcia/sa1100_simpad.c
index e2e8729afd9d..784ada5b8c4f 100644
--- a/drivers/pcmcia/sa1100_simpad.c
+++ b/drivers/pcmcia/sa1100_simpad.c
@@ -14,7 +14,7 @@
#include <asm/mach-types.h>
#include <mach/simpad.h>
#include "sa1100_generic.h"
-
+
static int simpad_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
{

@@ -66,7 +66,7 @@ simpad_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
simpad_clear_cs3_bit(VCC_3V_EN|VCC_5V_EN|EN0|EN1);
break;

- case 33:
+ case 33:
simpad_clear_cs3_bit(VCC_3V_EN|EN1);
simpad_set_cs3_bit(VCC_5V_EN|EN0);
break;
@@ -95,7 +95,7 @@ static void simpad_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt)
simpad_set_cs3_bit(PCMCIA_RESET);
}

-static struct pcmcia_low_level simpad_pcmcia_ops = {
+static struct pcmcia_low_level simpad_pcmcia_ops = {
.owner = THIS_MODULE,
.hw_init = simpad_pcmcia_hw_init,
.hw_shutdown = simpad_pcmcia_hw_shutdown,
--
2.20.1



2020-04-03 04:42:37

by Dominik Brodowski

[permalink] [raw]
Subject: Re: [PATCH] pcmcia: remove some unused space characters

On Mon, Mar 30, 2020 at 10:00:24AM +0800, Hu Haowen wrote:
> There are a few space characters I found by chance. I think they are
> redundant, so I removed them.
>
> Signed-off-by: Hu Haowen <[email protected]>

Applied to pcmcia-next.

Thanks,
Dominik

> ---
> drivers/pcmcia/sa1100_simpad.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/pcmcia/sa1100_simpad.c b/drivers/pcmcia/sa1100_simpad.c
> index e2e8729afd9d..784ada5b8c4f 100644
> --- a/drivers/pcmcia/sa1100_simpad.c
> +++ b/drivers/pcmcia/sa1100_simpad.c
> @@ -14,7 +14,7 @@
> #include <asm/mach-types.h>
> #include <mach/simpad.h>
> #include "sa1100_generic.h"
> -
> +
> static int simpad_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
> {
>
> @@ -66,7 +66,7 @@ simpad_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
> simpad_clear_cs3_bit(VCC_3V_EN|VCC_5V_EN|EN0|EN1);
> break;
>
> - case 33:
> + case 33:
> simpad_clear_cs3_bit(VCC_3V_EN|EN1);
> simpad_set_cs3_bit(VCC_5V_EN|EN0);
> break;
> @@ -95,7 +95,7 @@ static void simpad_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt)
> simpad_set_cs3_bit(PCMCIA_RESET);
> }
>
> -static struct pcmcia_low_level simpad_pcmcia_ops = {
> +static struct pcmcia_low_level simpad_pcmcia_ops = {
> .owner = THIS_MODULE,
> .hw_init = simpad_pcmcia_hw_init,
> .hw_shutdown = simpad_pcmcia_hw_shutdown,
> --
> 2.20.1
>
>