From patchwork Sun Mar 17 08:44:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armando Miraglia X-Patchwork-Id: 10856185 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7290F14DE for ; Sun, 17 Mar 2019 08:45:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 577F429634 for ; Sun, 17 Mar 2019 08:45:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AF9629661; Sun, 17 Mar 2019 08:45:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 01B0F29634 for ; Sun, 17 Mar 2019 08:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=A4WEwrLHLoGNMDMHPjywXLcrXUZ4IIsYJaS/3U9Fhvg=; b=K8yHm/nxLxdQt2 HIKVZgpwWIr5o/1WXcbf6k5BCWgJSvGw4se+xTxbZSdpzkhjPQNTuRwWYUShl8XZh62CfTB5/OA2M QULCKtFMrxcUZ2iKPQGgaPEqbqQ5GSY5dnYek0eGb6Jtw9OsL1HsAd2jEDUyhOuQdKKRtHgm4qsCg 8yt38H2LpC0qWz7ZIdZj0AXM9kwLC8drJzB7918dT/KIBkObmcYOKQlKH20Jf0qCF2f/rhAU3DFoA OGz1vsYp54dmImadacHUEiiIKqsiTJih+UzwaRfSwHyJOQfqKq/F2+0+A0+40myNUXSKS2/ntybwE dWsqpBBb8hsAUmJVG6Eg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5RQN-0007q4-0W; Sun, 17 Mar 2019 08:45:43 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5RQ4-0007er-So; Sun, 17 Mar 2019 08:45:26 +0000 Received: by mail-ed1-x542.google.com with SMTP id n17so10969987edt.13; Sun, 17 Mar 2019 01:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RtHiWH4K4SJja5CH/zDeqFlMiK5IlNzj5APbdLQeZRw=; b=DCmUpGPqk/ha9uQ+xUDlCMagJAIVzby5g1u6GVt8wSAK/wTSaTO3Ujmn/WlMwe1X6P 32diwz5kFCt4cqQ74ulbXfBlMgE0fItlQTWeMu+VTLpTtM/roPrENNvAaKB5d4WlziMz NnLsLQaOyvPC9y4h3AqTejhOlse3nMjnANqoTONm1T91WAlB2CMEcuUkx8L6JpvZ3MrS aZEaPlMWu3Jtv9mGDwzbb3qgU4AXwgV5p55Y4yA8vFXr9GtLQOEwGN5dNgrs255r3cTU QqvtYGAfxlpXne+OhPQNac30oVQYtA1w2zwjBH6tUrQZ7Kr3WbfBH1FbMSfdOKsQHAkm 0c7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RtHiWH4K4SJja5CH/zDeqFlMiK5IlNzj5APbdLQeZRw=; b=hyA7zqqW7Za8ApLkZfwAN6+RCOn3b+3XQpWq8q3JIVO6ya/YQmBBOlPf0Uxl0kYMGD pKJCOZcV4AVPqRp1F8vWg9REmLBgDcto6EsiYyjxG8Vh18KiwKI8Prk60HwUwg78naWh 9m87lYvK2JI8W4jkrT//uXGja7jy6xZccXy1W3ywE/SACcFKuEqo3Q4uC6PWmDCS5gdz dP2bYtM5Lj1HrxF/68ucLDeX18t8phTRGqOZrlmG0To16Fgb9YXKvIxIWVU3VbXdOsWx LdLBd+rqkEWYQZCIzpLx/hj4JaSvc0OsYJBzLaXy36U49EDgJ1c9C6uveswe0IoKes2+ WaCg== X-Gm-Message-State: APjAAAXc4vB0byOyI7lCgay2plOWPD1Oshivs9crDAX18ABDeLjlw9im ZFTqvRfk+miphZ59X6vU7Zg= X-Google-Smtp-Source: APXvYqxs8U8C4rz1U0om36B0l6u9CkssvSdjjiYTmgsEgSTvgbKo5FLgJMIWd5WeFEE0oXXK2D/DGA== X-Received: by 2002:a50:b497:: with SMTP id w23mr8983849edd.84.1552812322436; Sun, 17 Mar 2019 01:45:22 -0700 (PDT) Received: from lamport.roam.corp.google.com ([89.248.140.15]) by smtp.gmail.com with ESMTPSA id b3sm91998edj.56.2019.03.17.01.45.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Mar 2019 01:45:21 -0700 (PDT) From: Armando Miraglia X-Google-Original-From: Armando Miraglia To: matthias.bgg@gmail.com, neil@brown.name Subject: [PATCH] dma: mediatek: addres minor style issues flagged by clang-format. Date: Sun, 17 Mar 2019 09:44:45 +0100 Message-Id: <20190317084443.158913-1-armax@google.com> X-Mailer: git-send-email 2.21.0.360.g471c308f928-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190317_014524_957728_6F99BFB6 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, jbi.octave@gmail.com, gustavo@embeddedor.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, sergio.paracuellos@gmail.com, Armando Miraglia , linux-mediatek@lists.infradead.org, bhanusreemahesh@gmail.com, christian@lkamp.de, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Sean Wang --- drivers/staging/mt7621-dma/mtk-hsdma.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/mt7621-dma/mtk-hsdma.c b/drivers/staging/mt7621-dma/mtk-hsdma.c index 97571f1d697b..74c374f7bef4 100644 --- a/drivers/staging/mt7621-dma/mtk-hsdma.c +++ b/drivers/staging/mt7621-dma/mtk-hsdma.c @@ -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);