From patchwork Mon Aug 7 11:01:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 9885035 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9474F60363 for ; Mon, 7 Aug 2017 11:03:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89176285E3 for ; Mon, 7 Aug 2017 11:03:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DE6C28610; Mon, 7 Aug 2017 11:03:47 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 0B513285E3 for ; Mon, 7 Aug 2017 11:03:47 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=GrreixYRfIPlgNIqGvionksHABltxwgrHVSMrT/KUpQ=; b=JiiYpIQpUYU6k3boGWP7It0sCe +VzH+WJsGd7e09Xiwb7T1TldPktjxnsrFx5spadISv1t3/BwvyhVFAjpLh1+xmRxZcfGQp2n3p4Wd z28JmSsidbkFORpTWrYZNocH/F3qSX1O4yLL85ma8duW0PGWQa+by3vL7RuNMJqXJOrZtG4/a5PZL 6bbD+oIeVXWJntYA1SMh/p1oNwWS4eDiYqCnFrVN5I0IkZ0fG+zf3HgLMCLM4T6dir5CMmi24iqOy RHEuifO2bqmojGZrTpGSt5i1l89FyRseKbQHVTephPMOlP4810QGsPgPx7Hi6yVDJvx+/aMw6d+K0 Q1l644Fg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1defp1-0002VU-CY; Mon, 07 Aug 2017 11:03:43 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1defno-00012Z-O1 for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2017 11:02:30 +0000 Received: by mail-wr0-x244.google.com with SMTP id g32so77832wrd.5 for ; Mon, 07 Aug 2017 04:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=7kzN+ExyL43DjjAWQ5xkIkKnBy7D2NrAzyiuaDQJsT8=; b=jSEWS8ubIBr1HvV34NQ1h+7Lhm0EoWWNOGq95/UvOgAIHq+MhBGZFTxFjhOlmfVy9P Vmkc6W3k8/v+BtemoTVM9ot8+8kJL0iUxGMUdO9OiU7PXjayOXop6W174P9MhrzEimON Fzxc+raPBBEcAeexKwLA5UfF1L2imSDGp0KcqAfkEgPfK47CIV6ZB8i/J1JewHPtbO2a kftDr8e0AJTk51Z5Cit7cktqMjBLP01Kknov9w+V/kMqYTkpGAU3E0XfMFPMAY3oHPO/ HidThKV4PSkhKZ+xtvssuzGUzwFY8GFp/osctvGGKrRzoXQd5MJpdOXDo0QVW2KSo7cg JD/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=7kzN+ExyL43DjjAWQ5xkIkKnBy7D2NrAzyiuaDQJsT8=; b=EeMWEug+7t2DVHyv464CBlKVh6x1kAaEaWbCj63VzuvlPkgOanDUEAbRlbTVrf+Y2i pKhaaD4SV8KTc/Y+Cqn5/sNs3dqjUpbIp/jcS2y3bdhG2UDEJ41TdWxsMj0WUgM4M9kD ca6tkIK5vkMfIIbt61SbFxZcIEkCWDX5F//OsbVLYVcx/bqPNIaVw9zXDr+1STCUapeg AVMrCq6WSVJuhP6Iu+ItRbLr9+uUOXsvW7oFanF0brLqBtBQuxoTFQ3XpyAO0IlVPwW4 7HWct+OYe48QduuWjWST2/rHRU5OK5Ni3Nn5OmBOVpJ2MFCHMzJ4FTTTFaSvPg9QOv6b Px8w== X-Gm-Message-State: AHYfb5gjN4PBeXaC27y2wRRJkE0wWdYk2MTWdS2NV+uLBWFCEopvZz7L zHH02gbykA43WeWB X-Received: by 10.223.146.195 with SMTP id 61mr70678wrn.169.1502103731907; Mon, 07 Aug 2017 04:02:11 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id g17sm12289037wmc.44.2017.08.07.04.02.11 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 07 Aug 2017 04:02:11 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu Subject: [PATCH 6/8] gpio: zynq: Fix empty lines in driver Date: Mon, 7 Aug 2017 13:01:59 +0200 Message-Id: <35852b459f0001981e0376c8fade8a498fd6e66e.1502103715.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170807_040229_011307_870FD289 X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Josh Cartwright , Peter Crosthwaite , Linus Walleij , linux-gpio@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Steffen Trumtrar , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Remove one additional line and add two new. All are reported by checkpatch. Signed-off-by: Michal Simek empty --- drivers/gpio/gpio-zynq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-zynq.c b/drivers/gpio/gpio-zynq.c index 573bd8303d5d..2d9f27e34d31 100644 --- a/drivers/gpio/gpio-zynq.c +++ b/drivers/gpio/gpio-zynq.c @@ -63,7 +63,6 @@ #define ZYNQ_GPIO_BANK5_PIN_MAX(str) (ZYNQ_GPIO_BANK5_PIN_MIN(str) + \ ZYNQ##str##_GPIO_BANK5_NGPIO - 1) - /* Register offsets for the GPIO device */ /* LSW Mask & Data -WO */ #define ZYNQ_GPIO_DATA_LSW_OFFSET(BANK) (0x000 + (8 * BANK)) @@ -115,6 +114,7 @@ struct gpio_regs { u32 int_polarity[ZYNQMP_GPIO_MAX_BANK]; u32 int_any[ZYNQMP_GPIO_MAX_BANK]; }; + /** * struct zynq_gpio - gpio device private data structure * @chip: instance of the gpio_chip @@ -700,6 +700,7 @@ static void zynq_gpio_restore_context(struct zynq_gpio *gpio) ZYNQ_GPIO_INTANY_OFFSET(bank_num)); } } + static int __maybe_unused zynq_gpio_suspend(struct device *dev) { struct platform_device *pdev = to_platform_device(dev);