Received: by 10.223.185.116 with SMTP id b49csp4685484wrg; Tue, 27 Feb 2018 00:24:18 -0800 (PST) X-Google-Smtp-Source: AH8x226NlFq8rq37eUManqg82YGgkRjM6UB3ywOhD3AyzuTdApdT+Zrp+Xr+qEbp98IQx93+wiDS X-Received: by 10.98.144.65 with SMTP id a62mr13308288pfe.96.1519719857906; Tue, 27 Feb 2018 00:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519719857; cv=none; d=google.com; s=arc-20160816; b=xDZ5EubnbkI7ML6BYl9YqP2cnlvGm0TtdbGSFkGOA1iRI1+aafkmfEnBbLxKmiukcY LBL3gN3woM+70zvJ6rxljgE/CFRsCjWAEuZk358y4O8tK0G/1/O2AHPIIc0NKS+nYfuH gKFzDhZRLGzU5tH3fFU/2uArZKyxxfY5p93owhoDUpFeTfGJftLCiZfbGSQHhvELUk/t /Vk0Q+LB9G3uy94eo1PIKqeU+hubpKMuWJyKKnfT4twe8GxyVti8kWUKMpyDx44D53sB a9Jx5SncjnkzoulUBr0dPiT1CLBLJHTsmCkiS6lOfqwTnZ1U6Rk1trCAKzdt/ieNPbL5 rSiw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=9ToHOLe0/mB25HUQ3jYMZ8QPvOSTF7Y6mE+sIANosOs=; b=bLUt2YXk4Nc0WYGFllDbwqc01WrFanH8SwA7P26mguL6BxGgmmvtRz5imrHklcAIfU gkhXmbpYijL/kKVkytYS4NeaDNANLlY+lwqrm3dua3UVdDOIZjzLAyNCAY5YQWHLQvCG 5LFAzp7rGLhlsjw7LlL2wM8TIhJAXnC1oXV7tAXk+ef/neUpNxiwz4NuQE0cOD7OaanQ ZRuIUTvvnN8DBvoxT0AZPc73XU5rMSMonRPRvub/o6IVYOJrg0utWr+GiCHYwfQw36T1 mXQ0QL7CEZpF7AjH4TrDi9BZ6FxNuHcDWi3PVovECQoBjnSmnawFFu5sPI5o6aq/jBRx 1Qlg== 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 f35-v6si25580plh.107.2018.02.27.00.24.03; Tue, 27 Feb 2018 00:24:17 -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 S1752479AbeB0IVs (ORCPT + 99 others); Tue, 27 Feb 2018 03:21:48 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:37445 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752069AbeB0IVq (ORCPT ); Tue, 27 Feb 2018 03:21:46 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1R8JTS8031278; Tue, 27 Feb 2018 09:21:03 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2gbwb109tp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 27 Feb 2018 09:21:03 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8D0E23F; Tue, 27 Feb 2018 08:21:02 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 68F811746; Tue, 27 Feb 2018 08:21:02 +0000 (GMT) Received: from [10.48.0.167] (10.75.127.49) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 27 Feb 2018 09:21:01 +0100 Subject: Re: [PATCH 5/7] iio: adc: stm32-dfsdm: misc style improvements and fixes To: Jonathan Cameron CC: , , , , , , , , , References: <1519390261-25453-1-git-send-email-fabrice.gasnier@st.com> <1519390261-25453-6-git-send-email-fabrice.gasnier@st.com> <20180224130309.7129e79f@archlinux> From: Fabrice Gasnier Message-ID: <62c19775-b013-a721-6f14-a8af88984b4b@st.com> Date: Tue, 27 Feb 2018 09:21:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180224130309.7129e79f@archlinux> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG8NODE3.st.com (10.75.127.24) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-27_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ? 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) { >