From patchwork Fri Dec 29 16:53:09 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: 10137239 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 234F96020A for ; Fri, 29 Dec 2017 16:53:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00F5B2D1E4 for ; Fri, 29 Dec 2017 16:53:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D74C22D1E8; Fri, 29 Dec 2017 16:53:32 +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 8A49D2D1E4 for ; Fri, 29 Dec 2017 16:53:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751152AbdL2Qxb (ORCPT ); Fri, 29 Dec 2017 11:53:31 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:39803 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbdL2Qxb (ORCPT ); Fri, 29 Dec 2017 11:53:31 -0500 Received: by mail-pl0-f66.google.com with SMTP id bi12so23232518plb.6 for ; Fri, 29 Dec 2017 08:53:31 -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=nhr7rK95Lbx0rFbC56e+mtIyK3AakfBGENrc/jL7Tns=; b=R8iiJNuWa6WQG7F658SJVur3v+RcMSmdO338E3TSyPAn5ePybXmU4W8Om5lLFxCQlL keju17HseFQ23RYSR+JpHiNSzxbmVFzXWVwcxKjxmVExk47vFxHTKscgMv2Kk+odKIJs csjAtb5JItUHsQ1URmUMtDXwIoSwyfe0FpO2fTMYi0GFxvaqbF1NuXObtSts+FMv+5wQ KnA3XDyuD90MKK45lulMgfMlbolYfvfatBdXi7/JyN+ZUnk4gjDl0IfGaOEcK3NO7W4v ORrzqBO2iuV3Vqoj8XYhOi/EMIups+Qo1oOZPxfLMvRBQzHxoSGPIpvLtBehHOOqLg2+ jqMg== 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=nhr7rK95Lbx0rFbC56e+mtIyK3AakfBGENrc/jL7Tns=; b=t8iwy+3oyKZVRnvKC1zg/OWDfen6A9mjDn/YNginE0CUlLS8D837odJxgsif8EL3QC rN5zROO3RGwhO1qfeUGMmG+qZ/IfvSb1sXpap4NGiBQqWA+f1qUUbVyn7IoAZVGUSu/5 OOwYEqfh1D6+XvIXHrRxroE6TvnIGDZoKj5Nd7/rBsH5AU7jBGxFQprypgTNcoEi98jv PZ2w1fTlxV+hq2k+41AeBZWGjD34uSH+Y4j7EjVjOyLyQOZJSTb49it0IbbMthoFaiXX pDhAKXj75IrUABfbjsXII4HJ+4rw7cMnprPBbpLUMwIZiMDR2d4LgNNaMdVdEccPZJCv wiiQ== X-Gm-Message-State: AKGB3mI/LE50eq06n0E+nmY+kl1zZmm6QkmtqPODXujsgedZ6r/WIV70 iuQNmkDxX3ICfmZcS1yC0W0= X-Google-Smtp-Source: ACJfBouOBjwJhOODplpKvWtEkPHCP2+1qREGvRXHuvoe/GdQKBlunxo53QoWGpffuYmpoT4zFAct1A== X-Received: by 10.159.246.20 with SMTP id b20mr34873057pls.95.1514566410564; Fri, 29 Dec 2017 08:53:30 -0800 (PST) Received: from localhost.localdomain ([117.209.132.145]) by smtp.gmail.com with ESMTPSA id q5sm3568968pgn.39.2017.12.29.08.53.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Dec 2017 08:53:29 -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 4/4] Drivers:iio:adc: else is not generally useful after a break or return Date: Fri, 29 Dec 2017 22:23:09 +0530 Message-Id: <1514566389-3485-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 Fixes checkpatch warnings: WARNING: else is not generally useful after a break or return Signed-off-by: Venkat Prashanth B U --- drivers/iio/adc/at91_adc.c | 1 - 1 file changed, 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/at91_adc.c b/drivers/iio/adc/at91_adc.c index 7b40925..da18c04 100644 --- a/drivers/iio/adc/at91_adc.c +++ b/drivers/iio/adc/at91_adc.c @@ -939,7 +939,6 @@ static int at91_adc_probe_dt(struct at91_adc_state *st, /* Check if touchscreen is supported. */ if (st->caps->has_ts) return at91_adc_probe_dt_ts(node, st, &idev->dev); - else dev_info(&idev->dev, "not support touchscreen in the adc compatible string.\n"); return 0;