Re: [PATCH] mmc: renesas_sdhi: style fix for proper function bodies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 20 Mar 2022 at 13:45, Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Put the braces to the proper position to make reading the code easier.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

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
>



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux