From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753054AbeBEOBq (ORCPT ); Mon, 5 Feb 2018 09:01:46 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:55741 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461AbeBEOBj (ORCPT ); Mon, 5 Feb 2018 09:01:39 -0500 Date: Mon, 5 Feb 2018 15:01:34 +0100 From: Alexandre Belloni To: Ulf Magnusson Cc: Linux Kernel Mailing List , Linux Kbuild mailing list , tfiga@chromium.org, paul.burton@mips.com, Marek Szyprowski , Hans-Christian Noren Egtvedt , Linus Walleij , vgupta@synopsys.com, mgorman@techsingularity.net, hch@lst.de, mina86@mina86.com, robh@kernel.org, sboyd@codeaurora.org, paulus@ozlabs.org, will.deacon@arm.com, Tony Lindgren , Nicholas Piggin , Masahiro Yamada , Alessandro Zummo , linux-rtc@vger.kernel.org Subject: Re: [PATCH 05/20] rtc: at32ap700x: Remove PLATFORM_AT32AP dependency Message-ID: <20180205140134.GN3404@piout.net> References: <20180205012146.23981-1-ulfalizer@gmail.com> <20180205012146.23981-6-ulfalizer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 05/02/2018 at 02:42:38 +0100, Ulf Magnusson wrote: > On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson wrote: > > The PLATFORM_AT32AP symbol went away when AVR32 was removed in > > commit 26202873bb51 ("avr32: remove support for AVR32 architecture"). > > > > Remove the RTC_DRV_AT32AP700X dependency from RTC_DRV_AT32AP700X. > > > > Discovered with the > > https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py > > script. > > > > Signed-off-by: Ulf Magnusson > > --- > > drivers/rtc/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > > index b71cc7b5fbc9..1f5f3bd82ab6 100644 > > --- a/drivers/rtc/Kconfig > > +++ b/drivers/rtc/Kconfig > > @@ -1404,7 +1404,7 @@ config RTC_DRV_PL031 > > > > config RTC_DRV_AT32AP700X > > tristate "AT32AP700X series RTC" > > - depends on PLATFORM_AT32AP || COMPILE_TEST > > + depends on COMPILE_TEST > > help > > Driver for the internal RTC (Realtime Clock) on Atmel AVR32 > > AT32AP700x family processors. > > -- > > 2.14.1 > > > > RTC_DRV_AT32AP700X could probably be removed along with > ./drivers/rtc/rtc-at32ap700x.c as well. > Note that the driver is already removed in Linus' tree. -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com