From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75B03C433E7 for ; Sat, 10 Oct 2020 16:07:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E70CD2222A for ; Sat, 10 Oct 2020 16:07:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UXL4WNpn"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="WxLid6YL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E70CD2222A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eP7MwPPfPRmT2hDc7FB6du7Z2OVRKlrYFTs+xH0soBM=; b=UXL4WNpnuviBgLOFmy9w2U2LJ aFe/7n90bG3B4Hlc1xC0eEoNkKPHQJiyiD88Ue72oC3aaA3I5yEhfEnYsuIzmUepRvgY9ptalvflS lAYT2AB3cMLKU6b6kTIwFjoUw13lqe8sOficUQ4AoK20XdcM2g5t7cMNmwZ2bkHrOeHMZ85qZbHI3 8X1thmIOy5DzqHHeQQPV8PBz+3+RQGQ5NXRSGhswPS0H1CqdmUsyyFAzP5i65RZJZCBIlI95YHfiN /6VdfJ02vjI9ATT+Xbn+sbwG6rQgLDlfISTzSRLCYXtmwkPx5BXfTCkcsRCTiG3N5Q323DzarmF3U JhxL6HwZA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRHNj-0000iD-Av; Sat, 10 Oct 2020 16:06:03 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kRHNg-0000hb-4C for linux-arm-kernel@lists.infradead.org; Sat, 10 Oct 2020 16:06:01 +0000 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 1A656223AC; Sat, 10 Oct 2020 16:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602345958; bh=6MV7ZxzzlYAjamohlXNfIY2Q+5KrsiR/Ee2zbf25e0I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WxLid6YLHjk6I+6yRZA6JLZh4F2BAz8dzYEWwJwMv8zrEOvbhni6NYlwu4QRTmeq1 zR5wCvvwR+cS6rttLxx2JwgCL3evMLMUmafkqk+Z6WegDDqUjylLtzUNU9KgJosh+e karulIf+bMU1WevYZD1GLFNbJ8V8P+oqDy7B/QQg= Date: Sat, 10 Oct 2020 17:05:53 +0100 From: Jonathan Cameron To: Alexandru Ardelean Subject: Re: [PATCH v4 0/4] iio: adc: at91: misc driver cleanups Message-ID: <20201010170553.69d4ad02@archlinux> In-Reply-To: <20200930135048.11530-1-alexandru.ardelean@analog.com> References: <20200930135048.11530-1-alexandru.ardelean@analog.com> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201010_120600_379815_C1772E94 X-CRM114-Status: GOOD ( 19.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexandre.belloni@bootlin.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, ludovic.desroches@microchip.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 30 Sep 2020 16:50:44 +0300 Alexandru Ardelean wrote: > This whole thing started because the lkp bot haunted me for a while with > this build warning: > > >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable > >> 'at91_adc_dt_ids' [-Wunused-const-variable] > static const struct of_device_id at91_adc_dt_ids[] = { > ^ > 1 warning generated. > > The fix may likely be patch 'iio: adc: at91_adc: add Kconfig dependency > on the OF symbol'; was pointed out by Jonathan. Series applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it and see what we missed. Thanks, Jonathan > > Changelog v3 -> v4: > - https://lore.kernel.org/linux-iio/20200930125216.90424-1-alexandru.ardelean@analog.com/T/#t > - for patch: 'iio: adc: at91_adc: remove platform data and move defs in driver file' > * updated/cleand up commit description > * remove redundant pdata erorr message > * return error code from at91_adc_probe_dt() > * remove 'if (!node)' null check in at91_adc_probe_dt() > - added 'Reviewed-by: Alexandre Belloni ' > for patch: 'iio: adc: at91_adc: add Kconfig dep on the OF symbol and remove of_match_ptr()' > > Changelog v2 -> v3: > - https://lore.kernel.org/linux-iio/20200930060008.42134-1-alexandru.ardelean@analog.com/T/#t > - added 'Reviewed-by: Alexandre Belloni ' > for patches: > iio: adc: at91_adc: use of_device_get_match_data() helper > iio: adc: at91_adc: const-ify some driver data > - fixed description for patch 'iio: adc: at91_adc: add Kconfig dependency on the OF symbol' > - squash patches: > iio: adc: at91_adc: add Kconfig dependency on the OF symbol > iio: adc: at91_adc: remove of_match_ptr() usage > - added patch: 'iio: adc: at91_adc: remove platform data and move defs in driver file' > > Changelog v1 -> v2: > - https://lore.kernel.org/linux-iio/CA+U=Dspd11N-pXXnnY_5CSzNp50iRr7h16zXTCxo8Fk+v48F7g@mail.gmail.com/T/#m7c0efef4dc623776fe8bafdb5f734b0eaca50f82 > - for patch 'iio: adc: at91_adc: use of_device_get_match_data() helper' > changed description; it's just tidy-up patch, not a fix > - added 2 more patches: > - iio: adc: at91_adc: add Kconfig dependency on the OF symbol > - iio: adc: at91_adc: remove of_match_ptr() usage > > Alexandru Ardelean (4): > iio: adc: at91_adc: use of_device_get_match_data() helper > iio: adc: at91_adc: const-ify some driver data > iio: adc: at91_adc: add Kconfig dep on the OF symbol and remove > of_match_ptr() > iio: adc: at91_adc: remove platform data and move defs in driver file > > drivers/iio/adc/Kconfig | 2 +- > drivers/iio/adc/at91_adc.c | 73 ++++++++++---------------- > include/linux/platform_data/at91_adc.h | 49 ----------------- > 3 files changed, 28 insertions(+), 96 deletions(-) > delete mode 100644 include/linux/platform_data/at91_adc.h > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel