Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6208187imb; Fri, 8 Mar 2019 11:48:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxriVxuhWlcmvEce4KcwvVHyv5LnMbXdIhf0VnxXwekPbY/5vs90YoOMnIV10HV89NvV7E6 X-Received: by 2002:a63:5720:: with SMTP id l32mr18352443pgb.268.1552074515779; Fri, 08 Mar 2019 11:48:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552074515; cv=none; d=google.com; s=arc-20160816; b=lJ1gE7vgWgoJ5+/gOWZ/B+SEF5QmiIKBjiifQBik+RfJxZ2GHLZAbjnrP9hM7I7o7t N2L3W2W66tpmWSDVFz3Fk1qOtByTEKZWd+a2csfG1X4c5zW5osiSmiFPz4GuHnYT6I3Z +D5yWpgVKINoBNiRl/PeP+ODNpG426Aaxr+UWP6potpP+NhFz+tB3DQy6QH001SGqvzQ mfeK+DC/3amu06cIcHVPppgP/afHOC3R3F5X1EvQOuTZb1nWaJZ5pqIIXrjoB0H6SDkt qrwj9ueiIGjmC64fh+5+Ra3jCx0YgaFyCln7qk/jer5zbSOfJydC9up7zGd2ARLaa/SS fSaw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PCmgnf+DSePwylqGHbW4EX8PQba6O1Evd59WRGue5aM=; b=wvpEDqGFJa9arWQuQ9OeMFH5WQgiCZi7MwPatruTD2M6yYo+cBrqGn8CzRkNIfrpgP sqnmCnpj2c7EABRFKchljPiyIeweKf+UJMb3rHUK0CnXW5tai4s16Z3rjQAXwRdOZxKT NVXujvMmqLvJHZiY+CvVV2DSJVwP2ZbP711OP2KVx0aCQW2iyAl2zyhDUdJMYRg16FyD 6Rlcbz5eoAFwgq4GCJkK8j/zmdCEEC380H+j4DkuZk/XI3aIpBdZnhwILFo43/0qq2EN xKqOSVF1/KFHr1drZiXzGXz4GKfXb4xYJIwD0nX3V3quMD3Sspg3r5erxKO8D866lKIw ZP4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jbTn8BUf; 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 k20si7195314pgg.571.2019.03.08.11.48.20; Fri, 08 Mar 2019 11:48:35 -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=jbTn8BUf; 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 S1726964AbfCHTrr (ORCPT + 99 others); Fri, 8 Mar 2019 14:47:47 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:40606 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbfCHTrq (ORCPT ); Fri, 8 Mar 2019 14:47:46 -0500 Received: by mail-qk1-f196.google.com with SMTP id h28so11868778qkk.7; Fri, 08 Mar 2019 11:47:46 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=PCmgnf+DSePwylqGHbW4EX8PQba6O1Evd59WRGue5aM=; b=jbTn8BUf9D4Hq3835SC0r4+906XV2OJt9ZHAECl/2hx9e/16jENlWcbhh8vhnrPTEt UgE0LspmAuFH+A/DDj5LNLoC1qBmCaMkzIUEfmjQupWa13Ufxe4JHKrnMEABIpxv17uf 6Ul9BNThi83zpMwzfK6MsEFJW10ZPOBtbUs30kyNUDYrA7AdQrvrwHvqvAxLwQ4B8bB3 x36o+Gx+d6v+XLebvGXe825MCePQJfLkhEj35ihaqXAYUeqmyBHpE90leZizxyVBLoCj wBN7H3NzxSI3MLN9RrMiVu+ZdO3JNY2B7CpVXi6Zt1oYPwDfnHIsYAQk+2i9Sh1SiOqX fbqg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=PCmgnf+DSePwylqGHbW4EX8PQba6O1Evd59WRGue5aM=; b=bdHzWk2osGUtOgBqufVodLuETeQOMzOnIPQfAcnREVz2msmZzqYkAIWhrSn0EdyG9b jGdKNHF2GyGsEEshDNlpFsOEkooNkeWuVBCoC8B4Sd8nCPT+DGi8l1TbzlWwLRpJ+inH w8zQ2R45TYUD0r15+Oxqd9Achv1MIOYKo/MddrzMMtxI+F2vjBGJ/hJ8b2/yfQNjpO+2 CGmWRISRc4qPyiTJw2j7hHLAYII+QXAk7BGnx1yNeWM/t+M13nsT8svsyTJ/2Z3KgOol 6+oJAmqZ/a4PF2KyfLnaTPCf2TJO7a9zKkJ265fwMuLgC56UTKdbjokAGDt9PEFTuauz oIKA== X-Gm-Message-State: APjAAAWImbxmi6lXYsm+Z99DQxK1TpI209YpGpBzq+MALVcd0+jmiHOI 2TsRSgA6moyueVJFRtvzILI= X-Received: by 2002:a37:6042:: with SMTP id u63mr14587176qkb.289.1552074465571; Fri, 08 Mar 2019 11:47:45 -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.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 11:47:44 -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 , Lucas Oshiro , Anderson Reis Subject: [PATCH v2 2/4] iio:potentiostat:lmp91000: reduce line width and remove blank line Date: Fri, 8 Mar 2019 16:46:53 -0300 Message-Id: <20190308194655.5983-3-anderson.reis.rosa@usp.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190308194655.5983-1-anderson.reis.rosa@usp.com> References: <20190308194655.5983-1-anderson.reis.rosa@usp.com> 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 Break the line 258 in order fit the line width on 80 characters. Remove the blank line 279, as the line before is also a blank line. Solve these checkpath.el WARNING and CHECK: - lmp91000.c:258: WARNING: line over 80 characters - lmp91000.c:279: CHECK: Please don't use multiple blank lines Signed-off-by: Lucas Oshiro Signed-off-by: Anderson Reis --- drivers/iio/potentiostat/lmp91000.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/potentiostat/lmp91000.c b/drivers/iio/potentiostat/lmp91000.c index 03d277621861..c45cfb632649 100644 --- a/drivers/iio/potentiostat/lmp91000.c +++ b/drivers/iio/potentiostat/lmp91000.c @@ -255,8 +255,8 @@ static int lmp91000_read_config(struct lmp91000_data *data) regmap_write(data->regmap, LMP91000_REG_LOCK, 0); regmap_write(data->regmap, LMP91000_REG_TIACN, reg); - regmap_write(data->regmap, LMP91000_REG_REFCN, LMP91000_REG_REFCN_EXT_REF - | LMP91000_REG_REFCN_50_ZERO); + regmap_write(data->regmap, LMP91000_REG_REFCN, + LMP91000_REG_REFCN_EXT_REF | LMP91000_REG_REFCN_50_ZERO); regmap_write(data->regmap, LMP91000_REG_LOCK, 1); return 0; @@ -276,7 +276,6 @@ static int lmp91000_buffer_cb(const void *val, void *private) static const struct iio_trigger_ops lmp91000_trigger_ops = { }; - static int lmp91000_buffer_preenable(struct iio_dev *indio_dev) { struct lmp91000_data *data = iio_priv(indio_dev); -- 2.20.1