* [PATCH v2] mmc: core: Fix indentation
@ 2020-02-21 16:31 Jerome Pouiller
2020-03-04 15:34 ` Ulf Hansson
0 siblings, 1 reply; 2+ messages in thread
From: Jerome Pouiller @ 2020-02-21 16:31 UTC (permalink / raw)
To: linux-mmc, Ulf Hansson; +Cc: linux-kernel, Jérôme Pouiller
From: Jérôme Pouiller <jerome.pouiller@silabs.com>
sdio_single_irq_set() was indented with a mix of tabs and spaces.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
---
v2:
- Also add braces arounf for loop (suggested by Joe)
drivers/mmc/core/sdio_irq.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c
index 900871073bd7..3ffe4ff49aa7 100644
--- a/drivers/mmc/core/sdio_irq.c
+++ b/drivers/mmc/core/sdio_irq.c
@@ -276,14 +276,15 @@ static void sdio_single_irq_set(struct mmc_card *card)
card->sdio_single_irq = NULL;
if ((card->host->caps & MMC_CAP_SDIO_IRQ) &&
- card->host->sdio_irqs == 1)
+ card->host->sdio_irqs == 1) {
for (i = 0; i < card->sdio_funcs; i++) {
- func = card->sdio_func[i];
- if (func && func->irq_handler) {
- card->sdio_single_irq = func;
- break;
- }
- }
+ func = card->sdio_func[i];
+ if (func && func->irq_handler) {
+ card->sdio_single_irq = func;
+ break;
+ }
+ }
+ }
}
/**
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] mmc: core: Fix indentation
2020-02-21 16:31 [PATCH v2] mmc: core: Fix indentation Jerome Pouiller
@ 2020-03-04 15:34 ` Ulf Hansson
0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2020-03-04 15:34 UTC (permalink / raw)
To: Jerome Pouiller; +Cc: linux-mmc, Linux Kernel Mailing List
On Fri, 21 Feb 2020 at 17:32, Jerome Pouiller
<Jerome.Pouiller@silabs.com> wrote:
>
> From: Jérôme Pouiller <jerome.pouiller@silabs.com>
>
> sdio_single_irq_set() was indented with a mix of tabs and spaces.
>
> Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> v2:
> - Also add braces arounf for loop (suggested by Joe)
>
> drivers/mmc/core/sdio_irq.c | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c
> index 900871073bd7..3ffe4ff49aa7 100644
> --- a/drivers/mmc/core/sdio_irq.c
> +++ b/drivers/mmc/core/sdio_irq.c
> @@ -276,14 +276,15 @@ static void sdio_single_irq_set(struct mmc_card *card)
>
> card->sdio_single_irq = NULL;
> if ((card->host->caps & MMC_CAP_SDIO_IRQ) &&
> - card->host->sdio_irqs == 1)
> + card->host->sdio_irqs == 1) {
> for (i = 0; i < card->sdio_funcs; i++) {
> - func = card->sdio_func[i];
> - if (func && func->irq_handler) {
> - card->sdio_single_irq = func;
> - break;
> - }
> - }
> + func = card->sdio_func[i];
> + if (func && func->irq_handler) {
> + card->sdio_single_irq = func;
> + break;
> + }
> + }
> + }
> }
>
> /**
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-04 15:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 16:31 [PATCH v2] mmc: core: Fix indentation Jerome Pouiller
2020-03-04 15:34 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).