diff mbox series

mmc: renesas_sdhi: style fix for proper function bodies

Message ID 20220320124538.62028-1-wsa+renesas@sang-engineering.com (mailing list archive)
State New, archived
Headers show
Series mmc: renesas_sdhi: style fix for proper function bodies | expand

Commit Message

Wolfram Sang March 20, 2022, 12:45 p.m. UTC
Put the braces to the proper position to make reading the code easier.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

Ideally, should have been in the series I sent out some minutes ago, but
I just found this now (hey, Murphy!). But not so bad, there is no
dependency and it can be applied independently.

 drivers/mmc/host/renesas_sdhi_internal_dmac.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Ulf Hansson March 28, 2022, 2:04 p.m. UTC | #1
On Sun, 20 Mar 2022 at 13:45, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
>
> Put the braces to the proper position to make reading the code easier.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Queued up on the "devel" branch for v5.19, thanks!

Kind regards
Uffe


> ---
>
> Ideally, should have been in the series I sent out some minutes ago, but
> I just found this now (hey, Murphy!). But not so bad, there is no
> dependency and it can be applied independently.
>
>  drivers/mmc/host/renesas_sdhi_internal_dmac.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> index 1497a46260d4..0bf35fb8b293 100644
> --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
> @@ -296,7 +296,8 @@ renesas_sdhi_internal_dmac_enable_dma(struct tmio_mmc_host *host, bool enable)
>  }
>
>  static void
> -renesas_sdhi_internal_dmac_abort_dma(struct tmio_mmc_host *host) {
> +renesas_sdhi_internal_dmac_abort_dma(struct tmio_mmc_host *host)
> +{
>         u64 val = RST_DTRANRST1 | RST_DTRANRST0;
>
>         renesas_sdhi_internal_dmac_enable_dma(host, false);
> @@ -312,7 +313,8 @@ renesas_sdhi_internal_dmac_abort_dma(struct tmio_mmc_host *host) {
>  }
>
>  static void
> -renesas_sdhi_internal_dmac_dataend_dma(struct tmio_mmc_host *host) {
> +renesas_sdhi_internal_dmac_dataend_dma(struct tmio_mmc_host *host)
> +{
>         struct renesas_sdhi *priv = host_to_priv(host);
>
>         tasklet_schedule(&priv->dma_priv.dma_complete);
> --
> 2.30.2
>
diff mbox series

Patch

diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
index 1497a46260d4..0bf35fb8b293 100644
--- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
@@ -296,7 +296,8 @@  renesas_sdhi_internal_dmac_enable_dma(struct tmio_mmc_host *host, bool enable)
 }
 
 static void
-renesas_sdhi_internal_dmac_abort_dma(struct tmio_mmc_host *host) {
+renesas_sdhi_internal_dmac_abort_dma(struct tmio_mmc_host *host)
+{
 	u64 val = RST_DTRANRST1 | RST_DTRANRST0;
 
 	renesas_sdhi_internal_dmac_enable_dma(host, false);
@@ -312,7 +313,8 @@  renesas_sdhi_internal_dmac_abort_dma(struct tmio_mmc_host *host) {
 }
 
 static void
-renesas_sdhi_internal_dmac_dataend_dma(struct tmio_mmc_host *host) {
+renesas_sdhi_internal_dmac_dataend_dma(struct tmio_mmc_host *host)
+{
 	struct renesas_sdhi *priv = host_to_priv(host);
 
 	tasklet_schedule(&priv->dma_priv.dma_complete);