Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6207949imb; Fri, 8 Mar 2019 11:48:08 -0800 (PST) X-Google-Smtp-Source: APXvYqy1nOt08wvQyXYIM9UuAj8W1f6V8mH5Z+6QK2/cZPjfEXQNfF9hznk7sEybBO+oTGJFyDAs X-Received: by 2002:a62:1752:: with SMTP id 79mr20093323pfx.127.1552074488252; Fri, 08 Mar 2019 11:48:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552074488; cv=none; d=google.com; s=arc-20160816; b=AsPVy3+fUaoddWb5Q0ZmQlxrwBHlwTb3ke0wjQDrzD4VZiuBhJhuUGPItij/p15L3n SWPFNkyWnFhrHCmCVXdhO7jy5HMtVMZnsmEuMl9PLGPcBPUAClboBBH0mcTtRXZdyqDf CWyi1U9uCG3ERrfgre+ixG9iB1O08h+BM6newsNR5IH06BIQZGbJYowPFvNmZs++TDbk gs3+p5glgroSqzElCIzQWWHTodemCEpBrF/U9w8drNEJ/Nvsyp3Y/XEF1jwijxHOvTqq c9CATP1NL/2Q4cHCxNkxWTlCneA58Cc24CIWtID9cnXS4Tnc75cmyyx1l216duxEGhyo 71Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=n50Te2F9BCT1+ySXIcH97yZ8M0jGzX8gA1eTakIvfyo=; b=sxbknWFMSYONIlHsFKUHi4pM7I1JdWpfV560smzY1RZbEfaIwASnUPHJzmITqsi8+3 nGW3f8iq/N2cHo0FxXEvEmGpq9dv31YlMrbMKe42y5Mz02NoJehlgm2x2wb/y+IV/JaZ bzT+K6hUV4tuQALvVHu2qCRztl5Tjx6JRw4i/rKb12jZjME9r23rocDWWgr2SQXrnnV2 x1v6QAR4Egu8P4i3gkZge5WHrVemyWnCzkCDY9bSbYqkB3IeHSWizjrGRiX7TABi+HEQ QB2R4OtZfYYLwf7SfgWEvHXZm6chrlxyY9NduaZQV7US/QVo8v86YnybEB1ra8gEgFBf FzpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XtbWHL40; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l184si7295722pgd.50.2019.03.08.11.47.50; Fri, 08 Mar 2019 11:48:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XtbWHL40; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbfCHTr3 (ORCPT + 99 others); Fri, 8 Mar 2019 14:47:29 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:38874 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbfCHTr3 (ORCPT ); Fri, 8 Mar 2019 14:47:29 -0500 Received: by mail-qt1-f196.google.com with SMTP id s1so22561771qte.5; Fri, 08 Mar 2019 11:47:28 -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:mime-version :content-transfer-encoding; bh=n50Te2F9BCT1+ySXIcH97yZ8M0jGzX8gA1eTakIvfyo=; b=XtbWHL40iVGQbTEzx0pjWOQ5rP3B6ciEx6wqCnmexY5Wvke+UC5amGqGEeGeqNJIKH ENZUa+EPvrOsbaC8rDf/fA7RcFSgTLybN3JZ3A/QU/HM0SQv/aQnk2jumkejR2HmvbOI oZze48eeWmJCJL7tRt2yC72qK47N1X74P7dYc9Ptzt5k4bzkl46EJBRHpxA8mZphVdzO iHDm/ApLRLzrWWyFrwZPfw8Wrm4RQdIQ5uTaMRvozbMrs5MMaRoOElCSyD87D4gOj4WV bH6KwYuaT9c+IYkbd0Jgg/euP2QfxMibqXMvcfvXofXGzvzLced3rvRo+QVBz+SJH+XE x+Og== 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=n50Te2F9BCT1+ySXIcH97yZ8M0jGzX8gA1eTakIvfyo=; b=JAewslVgHjEdTw3FXr0OgkcLRmBUdUK3xfCaB853YjpDzDxc26kIPFiMiRgTB92Lvs Mtn2CAiGHUbWDAXQ/EzXZkT3g5d5nHpv1PhWvUfUqJAH6bfPTObrOBTupmZ2YImd9QjN uPQUxA78lxFBzDD3VggGHQwzMjguD6AkyIZd5QDAE97Te0bb50T4nAXNfL6PYG3hkp6e 9mZ6LZULoJcYNw2q6B3ED/LABN/NJqvj8YjUnrmRCXJCb86rYMVXyGoGxRvV1mzFLXF+ +owUvXM+n/5IQCuOYBSjyOhXLBA7pqfmtuBA87WW5pJYgKUThNgOG5d1wCwm6mbFyz9e 3I+A== X-Gm-Message-State: APjAAAW+n1LlHD/YICyvD8O2WziJfFyk1fURMLVd5SS8GeJe0TtPl3QD i/rqHNE4sNp6sXN9CKlyA/Y= X-Received: by 2002:a0c:c96e:: with SMTP id v43mr16659229qvj.200.1552074447876; Fri, 08 Mar 2019 11:47:27 -0800 (PST) Received: from crypto.semfio.usp.br ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id n27sm2393038qtf.11.2019.03.08.11.47.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 11:47:27 -0800 (PST) From: Anderson Reis X-Google-Original-From: Anderson Reis To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, matt.ranostay@konsulko.com Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com, Anderson Reis Subject: [PATCH v2 0/4] iio:potentiostat:lmp91000: Adjust codestyle, and minor cleanup changes Date: Fri, 8 Mar 2019 16:46:51 -0300 Message-Id: <20190308194655.5983-1-anderson.reis.rosa@usp.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, We solved some checkpath.el CHECKs and WARNINGs. We also inverted the arms of an if statement, in order to make the code smaller as the else statement was supressed. We also changed a dev_err message as requested Anderson Reis (3): iio:potentiostat:lmp91000: reduce line width and remove blank line iio:potentiostat:lmp91000: invert if statement iio:potentiostat:lmp91000: change dev_err message Lucas Oshiro (1): iio:potentiostat:lmp91000: remove unnecessary parentheses drivers/iio/potentiostat/lmp91000.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) -- 2.20.1