From patchwork Sun Dec 17 09:07:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: venkat.prashanth2498@gmail.com X-Patchwork-Id: 10117675 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 955296019C for ; Sun, 17 Dec 2017 09:08:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DC7C290A0 for ; Sun, 17 Dec 2017 09:08:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 70E5C290B9; Sun, 17 Dec 2017 09:08:53 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CC13290A0 for ; Sun, 17 Dec 2017 09:08:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750896AbdLQJIA (ORCPT ); Sun, 17 Dec 2017 04:08:00 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:45041 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750848AbdLQJH5 (ORCPT ); Sun, 17 Dec 2017 04:07:57 -0500 Received: by mail-pl0-f66.google.com with SMTP id n13so3025793plp.11 for ; Sun, 17 Dec 2017 01:07:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Pci/7gKy8a38fIhFgzPbAIz73dc4ZWywInw+89ILy0c=; b=NblcMHlQ6ArYOd27+x6ICTAzM4uRJ7dUyG5kOxYIGInvrz+OGYxTxG8zsJEU7RKXjU 4XTLpRQXKGm0+GmRIg6FB8yDO2lujdaEEgL/v750erpXWv1ibufiqzxQ3fduveVK9RSG 0hfsv8JgQgAISOuegmwU5Y75QTnJ/vPbzOmIRGOGQhJ9TwMiEpsfXf4ZBMjyveMbAZvB lFd14+7o8Zb93GBdxclzwdip2UJsJGSPql5bhayBE5vlXe3G26ixSwYaO1uue6qkON6J 70LCbCpE1DWXBl8VjAIbphJ5Ig/mVA+frW3wAe2B54rgrBusUl9IkPwM8h8r2sxCY+Oh VYaw== 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; bh=Pci/7gKy8a38fIhFgzPbAIz73dc4ZWywInw+89ILy0c=; b=bTZqb/R2OeauBcKDAFA1AirbMW5PbsXqQIzVmqadL/49wKwk85fy4WOmhwVM+JLRZg HrMJ6Xuz5vpFVb0fBk9yBGsSofZpjhie4hwamMzmH+Dlbb0EnO9Rp4g94OgNkuzHWIWF Uinyh0y56M2retkAWHltWv9zwWMReNLpUou8Q7WFiXrRC1M0Ur67mXjwdjgSD9wdOs41 p/JhozXPAy3C2nTe4gsqpwBvpFlET1j+jCoIlHcYvaDAhPJU9pS6Hc5qhmFLDoLU1wly xOrPCF2el6CMRcSXFSQBTw8NyEWtGfKT5JTrum5bf93GTtNuq5N/VzS8+0PITGIKB9zV WOkA== X-Gm-Message-State: AKGB3mLOsjQy/ofu/Q4VkzQMcM52zEpuyyolgFaG6Tf2AM0RiThfK/hf wAYNCMSOd4LaMz7OOfeX2u8= X-Google-Smtp-Source: ACJfBosKlencHqb05P4CJpfLEci+43usoqNeyY7uWyFOMY7V5ejr27Zr+JBKUWACqCUjcccf//3B4Q== X-Received: by 10.84.129.132 with SMTP id b4mr19502281plb.326.1513501677054; Sun, 17 Dec 2017 01:07:57 -0800 (PST) Received: from localhost.localdomain ([117.246.243.79]) by smtp.gmail.com with ESMTPSA id l80sm20051572pfk.67.2017.12.17.01.07.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 Dec 2017 01:07:56 -0800 (PST) From: venkat.prashanth2498@gmail.com To: lars@metafoo.de, Michael.Hennerich@analog.com Cc: jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, Venkat Prashanth B U Subject: [PATCH] Drivers: iio:adc: fix brace coding style issue in at91_adc.c Date: Sun, 17 Dec 2017 14:37:48 +0530 Message-Id: <1513501668-13227-1-git-send-email-venkat.prashanth2498@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Venkat Prashanth B U This is a patch to the at91_adc.c file that fixes up a brace warning found by the checkpatch.pl tool Signed-off-by: Venkat Prashanth B U --- drivers/iio/adc/at91_adc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 7b40925..a4767d6 100644 --- a/drivers/iio/adc/at91_adc.c +++ b/drivers/iio/adc/at91_adc.c @@ -1165,9 +1165,9 @@ static int at91_adc_probe(struct platform_device *pdev) res = platform_get_resource(pdev, IORESOURCE_MEM, 0); st->reg_base = devm_ioremap_resource(&pdev->dev, res); - if (IS_ERR(st->reg_base)) { + if (IS_ERR(st->reg_base)) return PTR_ERR(st->reg_base); - } + /* * Disable all IRQs before setting up the handler