Received: by 10.223.185.116 with SMTP id b49csp772913wrg; Sat, 3 Mar 2018 07:11:06 -0800 (PST) X-Google-Smtp-Source: AG47ELsBAd7k32MJQgQM2MFUesTc278mf3Icsq0Vho601istFZTtFFlnrhZKQPpsNREV5w/YI3yu X-Received: by 10.99.97.7 with SMTP id v7mr7663390pgb.239.1520089865931; Sat, 03 Mar 2018 07:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520089865; cv=none; d=google.com; s=arc-20160816; b=yq2+dM7A0+L6Dikark4nS2/AonOGtmdMrSWwj/7aH9hbL+Qns6GslHqAjTokKC4D8Y E4RbkLDukFYPew6XpwLVdiBKdFRFPlPiVgtmgWp9ytiY1WT3/jZ3ochYJyIjVkstgDDD 81yb0ps9a2YsFnOwZj6GDhUKoU/btc+adddFL9TtJu9tDvIpDjUpdITKO5I4jTlOutmJ Y6zHDm/5XKwuIJ/P3LTOeRLq3Tfzd3ZfywiNt8yWLOANC7XpTon3ugfz9fg1/ypnTrw2 LmpWCX43bnMD1eFdMl7cxbHM5eA/9xJcULlXSZjitvkgXr2+NpbznzyoRtrthSI0q3xE DtpA== 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:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=xLKyJruDuVFWJf6vrkel4NAMLn4imsWQc6CLc2t1wd0=; b=aVWxfrFzdNFkZKKRgfONzs73mF5mRtToMr95gQjNYqgx1X7QLpbysLo6uPKOVpJ+mz MZuFd/6s8ItDYZrBy/37/oJ1dNDPRU1AjkukQTs6zgLvNn67J7HNQ2B+BBZQo96woXid rPHWzu43zYQEWb3V5LlN9SaXqR5y2Vhocuh01OYn0wSex8VkkZnu6VGo/wmDtVFhZ+sQ CVbECESrP/F/fAymMm02aBOe0hMcaL0VmlxF0RvomcTc6yl7OjgLa5m+CY+HBjgYMq2l m6h5TeNfv3VVDKEx3ZHJn9mIcv5qUmpuS6NaoEjZvrPwxrROLrdtnAsDU9AtRcoWeYum jCwA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11-v6si6701863plk.720.2018.03.03.07.10.51; Sat, 03 Mar 2018 07:11:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752096AbeCCPJq (ORCPT + 99 others); Sat, 3 Mar 2018 10:09:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:47762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751947AbeCCPJp (ORCPT ); Sat, 3 Mar 2018 10:09:45 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7A1F32133D; Sat, 3 Mar 2018 15:09:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A1F32133D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 3 Mar 2018 15:09:39 +0000 From: Jonathan Cameron To: Fabrice Gasnier Cc: , , , , , , , , , Subject: Re: [PATCH 5/7] iio: adc: stm32-dfsdm: misc style improvements and fixes Message-ID: <20180303150939.34f4bed4@archlinux> In-Reply-To: <62c19775-b013-a721-6f14-a8af88984b4b@st.com> References: <1519390261-25453-1-git-send-email-fabrice.gasnier@st.com> <1519390261-25453-6-git-send-email-fabrice.gasnier@st.com> <20180224130309.7129e79f@archlinux> <62c19775-b013-a721-6f14-a8af88984b4b@st.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 27 Feb 2018 09:21:00 +0100 Fabrice Gasnier wrote: > On 02/24/2018 02:03 PM, Jonathan Cameron wrote: > > On Fri, 23 Feb 2018 13:50:59 +0100 > > Fabrice Gasnier wrote: > > > >> Misc fixes & style improvements: > >> - checkpatch warns about line over 80 characters. > >> - remove extra spaces and a blank line (e.g. checkpatch --strict) > >> - remove bad error message always printed in probe routine. > >> > >> Signed-off-by: Fabrice Gasnier > > I'd have preferred this as 3 patches doing one type fo fix each. > > Hi Jonathan, > > I was wondering about this as well. Do you wish I send a new series with > this patch, split into (3 or maybe 4) separate patches ? > > In this case, do I need also resend two last patches of this series ? It's probably not worth respining given just how small this is so don't worry about it. Jonathan > > Please let me know. > Many thanks, > Fabrice > > > > Anyhow, I'll need to hold this until the fixes have made there > > way upstream. Give me a poke if I seem to have forgotten > > and the dependencies have made it back to my togreg branch. > > > > Thanks, > > > > Jonathan > > > >> --- > >> drivers/iio/adc/stm32-dfsdm-adc.c | 9 ++++----- > >> 1 file changed, 4 insertions(+), 5 deletions(-) > >> > >> diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c b/drivers/iio/adc/stm32-dfsdm-adc.c > >> index 01422d1..57bcb45 100644 > >> --- a/drivers/iio/adc/stm32-dfsdm-adc.c > >> +++ b/drivers/iio/adc/stm32-dfsdm-adc.c > >> @@ -253,7 +253,8 @@ static int stm32_dfsdm_start_filter(struct stm32_dfsdm *dfsdm, > >> DFSDM_CR1_RSWSTART(1)); > >> } > >> > >> -static void stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, unsigned int fl_id) > >> +static void stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, > >> + unsigned int fl_id) > >> { > >> /* Disable conversion */ > >> regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id), > >> @@ -337,7 +338,7 @@ static int stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm, > >> "st,adc-channel-types", chan_idx, > >> &of_str); > >> if (!ret) { > >> - val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_type); > >> + val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_type); > >> if (val < 0) > >> return val; > >> } else { > >> @@ -349,7 +350,7 @@ static int stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm, > >> "st,adc-channel-clk-src", chan_idx, > >> &of_str); > >> if (!ret) { > >> - val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_src); > >> + val = stm32_dfsdm_str2val(of_str, stm32_dfsdm_chan_src); > >> if (val < 0) > >> return val; > >> } else { > >> @@ -1093,7 +1094,6 @@ static int stm32_dfsdm_adc_probe(struct platform_device *pdev) > >> char *name; > >> int ret, irq, val; > >> > >> - > >> dev_data = of_device_get_match_data(dev); > >> iio = devm_iio_device_alloc(dev, sizeof(*adc)); > >> if (!iio) { > >> @@ -1161,7 +1161,6 @@ static int stm32_dfsdm_adc_probe(struct platform_device *pdev) > >> if (ret < 0) > >> goto err_cleanup; > >> > >> - dev_err(dev, "of_platform_populate\n"); > >> if (dev_data->type == DFSDM_AUDIO) { > >> ret = of_platform_populate(np, NULL, NULL, dev); > >> if (ret < 0) { > >