staging: mediatek: addres minor style issues flagged by clang-format.
authorArmando Miraglia <arma2ff0@gmail.com>
Sun, 17 Mar 2019 08:44:45 +0000 (09:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Mar 2019 16:28:47 +0000 (17:28 +0100)
Running clang-format on mtk-hsdma.c I noticed that few lines would not
need to be wrapped, since they fit 80 columns. This change changes such
lines to better fit the style-guide.

Signed-off-by: Armando Miraglia <armax@google.com>
Acked-by: Sean Wang <sean.wang@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dma/mtk-hsdma.c

index 97571f1d697bd20fd3e9eeb521d7620b799b50cc..74c374f7bef498612485032f910a94e4af36a167 100644 (file)
@@ -264,8 +264,7 @@ static void mtk_hsdma_reset(struct mtk_hsdam_engine *hsdma,
        /* init desc value */
        for (i = 0; i < HSDMA_DESCS_NUM; i++) {
                chan->tx_ring[i].addr0 = 0;
-               chan->tx_ring[i].flags = HSDMA_DESC_LS0 |
-                       HSDMA_DESC_DONE;
+               chan->tx_ring[i].flags = HSDMA_DESC_LS0 | HSDMA_DESC_DONE;
        }
        for (i = 0; i < HSDMA_DESCS_NUM; i++) {
                chan->rx_ring[i].addr0 = 0;
@@ -435,8 +434,7 @@ static irqreturn_t mtk_hsdma_irq(int irq, void *devid)
        if (likely(status & HSDMA_INT_RX_Q0))
                tasklet_schedule(&hsdma->task);
        else
-               dev_dbg(hsdma->ddev.dev, "unhandle irq status %08x\n",
-                       status);
+               dev_dbg(hsdma->ddev.dev, "unhandle irq status %08x\n", status);
        /* clean intr bits */
        mtk_hsdma_write(hsdma, HSDMA_REG_INT_STATUS, status);