From patchwork Sat Dec 30 09:04:46 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: 10137661 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 1DE5A6020A for ; Sat, 30 Dec 2017 09:05:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC8C52E022 for ; Sat, 30 Dec 2017 09:05:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD1B82E02B; Sat, 30 Dec 2017 09:05:13 +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 C60C82E022 for ; Sat, 30 Dec 2017 09:05:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750872AbdL3JFE (ORCPT ); Sat, 30 Dec 2017 04:05:04 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36583 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbdL3JE7 (ORCPT ); Sat, 30 Dec 2017 04:04:59 -0500 Received: by mail-pf0-f194.google.com with SMTP id p84so22953157pfd.3 for ; Sat, 30 Dec 2017 01:04:59 -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=pPuNlxcRAyk5r6+sDDz5D/Q+t6GpVHoHZRc1TwxIskA=; b=lP3AYF5focBVH6BlB4U4cf1aeAO0sw/6KsBKwLCHjYhe4asTudzSg81h0gJhB/2Z4e ne5mrw5Y4AoRGlewm/FC484S/p/q+J0Evade8lgGWHjWsTOrc9cuZ8kBxKSf+7MiFsJB RfUMq8TckLtssI96XCZjzf81fGvhPtwR/3yzEvUT+UCKwGT8wOtuN5VewIjtDiXL4cAY dzwI5MVcc/mvFbAa0qSLtgMkK2BCYZiTO9KCsJFJnodK7SQcVa4eAPZhEIYWRecS1pmG HuyRy/jb2OFcS+XfUf0wLk1ppWk5/jx9AjDzbwW3gfmTEOud75F2Euq3pnI7lYbKFQ+P 6i4Q== 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=pPuNlxcRAyk5r6+sDDz5D/Q+t6GpVHoHZRc1TwxIskA=; b=NdIv0dEBaM3cR4vmb/xlm1pMrMwqDRWATSzQkDanOb58JKbbJc0EIsKVkR3Qs6bSX7 zSXDMcafUl6B5YUQFejcgprDwOiP4Ff6sOAmgR31RH2ADzN4WYyMdqaHDI8KnwCKbobn FYBWe0z0qrP8nKPnQbI51RtkIAEoqRH0c6LkksPoZgLIh+KKbjZbVthHv2I8SwInnI0i 1tyYSfq1Wvua4Fn5udq6EU5sEgIKksK8xDlRm5fB4C1UVWLmv3MPnNSKAajPIDdxo+eJ ErwN/12txXw777sb/uhWfmpWdP2xUWKLa94wgPYb9V3OMqCEji18mVz/xsPEGN3olp01 ZkVw== X-Gm-Message-State: AKGB3mKKSIK5gbccmT2j7q6XpBVqEqIYYBOsek4scMEHZfhLpdmwYyFp BQ2fnXTds8lROhPQ7BmHM1s= X-Google-Smtp-Source: ACJfBov6RJPa9h/e3ndqX/HPQjTBm7FOwHGZGmGwR3UfMelx0xzcLjZzRTESSudGbDComf7bJyBWdA== X-Received: by 10.101.85.2 with SMTP id f2mr13952509pgr.343.1514624698912; Sat, 30 Dec 2017 01:04:58 -0800 (PST) Received: from localhost.localdomain ([117.246.18.203]) by smtp.gmail.com with ESMTPSA id v23sm41232422pfe.72.2017.12.30.01.04.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 30 Dec 2017 01:04:58 -0800 (PST) From: venkat.prashanth2498@gmail.com To: lars@metafoo.de, jic23@kernel.org, Michael.Hennerich@analog.com Cc: knaack.h@gmx.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, Venkat Prashanth B U Subject: [PATCH 7/7] Drivers:iio:adc: Fix space prohibited before that ',' Date: Sat, 30 Dec 2017 14:34:46 +0530 Message-Id: <1514624686-8485-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 ad799x.c file that fixes ERROR: space prohibited before that ',' found by the checkpatch.pl tool Signed-off-by: Venkat Prashanth B U --- drivers/iio/adc/ad799x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/ad799x.c b/drivers/iio/adc/ad799x.c index 01d7158..a3f5254 100644 --- a/drivers/iio/adc/ad799x.c +++ b/drivers/iio/adc/ad799x.c @@ -477,7 +477,7 @@ static int ad799x_read_event_value(struct iio_dev *indio_dev, if (ret < 0) return ret; *val = (ret >> chan->scan_type.shift) & - GENMASK(chan->scan_type.realbits - 1 , 0); + GENMASK(chan->scan_type.realbits - 1, 0); return IIO_VAL_INT; }