diff mbox series

power: supply: cpcap-charger: clean an indentation issue, remove tab

Message ID 20181031184841.5673-1-colin.king@canonical.com (mailing list archive)
State Not Applicable, archived
Headers show
Series power: supply: cpcap-charger: clean an indentation issue, remove tab | expand

Commit Message

Colin King Oct. 31, 2018, 6:48 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to clean up indentation issue, remove an extraneous tab

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/power/supply/cpcap-charger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sebastian Reichel Dec. 5, 2018, 8 p.m. UTC | #1
Hi,

On Wed, Oct 31, 2018 at 06:48:41PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to clean up indentation issue, remove an extraneous tab
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/cpcap-charger.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/power/supply/cpcap-charger.c b/drivers/power/supply/cpcap-charger.c
> index e4905bef2663..c843eaff8ad0 100644
> --- a/drivers/power/supply/cpcap-charger.c
> +++ b/drivers/power/supply/cpcap-charger.c
> @@ -544,7 +544,7 @@ static void cpcap_charger_init_optional_gpios(struct cpcap_charger_ddata *ddata)
>  		if (IS_ERR(ddata->gpio[i])) {
>  			dev_info(ddata->dev, "no mode change GPIO%i: %li\n",
>  				 i, PTR_ERR(ddata->gpio[i]));
> -				 ddata->gpio[i] = NULL;
> +			ddata->gpio[i] = NULL;
>  		}
>  	}
>  }
> -- 
> 2.19.1
>
diff mbox series

Patch

diff --git a/drivers/power/supply/cpcap-charger.c b/drivers/power/supply/cpcap-charger.c
index e4905bef2663..c843eaff8ad0 100644
--- a/drivers/power/supply/cpcap-charger.c
+++ b/drivers/power/supply/cpcap-charger.c
@@ -544,7 +544,7 @@  static void cpcap_charger_init_optional_gpios(struct cpcap_charger_ddata *ddata)
 		if (IS_ERR(ddata->gpio[i])) {
 			dev_info(ddata->dev, "no mode change GPIO%i: %li\n",
 				 i, PTR_ERR(ddata->gpio[i]));
-				 ddata->gpio[i] = NULL;
+			ddata->gpio[i] = NULL;
 		}
 	}
 }