lkml.org 
[lkml]   [2018]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] char: rtc: remove unused rtc_control() API
On 07/02/2018 at 00:24:11 +0100, Arnd Bergmann wrote:
> On Tue, Feb 6, 2018 at 11:12 PM, Alexandre Belloni
> <alexandre.belloni@bootlin.com> wrote:
> > Since commit 34ce71a96dcb ("ALSA: timer: remove legacy rtctimer"), the
> > rtc_register/rtc_control/rtc_unregister API is unused. As it is highly
> > unlikely to be needed again, remove it.
> >
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> > ---
>
> Nice!
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
> I forgot what's stopping us from removing the rest of that driver ;-)
> Since we can only build it on alpha and mips/loongson64 these
> days, is there anything that this driver does that the normal
> one doesn't? If it's just a question of testing, we could probably
> just move it to staging and see if anyone notices a difference.

I'd say it is a matter of testing. The loongsoon maintainers seem
responsive so we may get testing for that architecture. I'm not so sure
about alpha. Actually, I'm not even sure it is really used on alpha
because arch/alpha/kernel/rtc.c seems to do the right thing.

I think I'll start by ripping of all the x86 and sparc specific parts
and see what's left.

I would also love to get rid of drivers/char/efirtc.c but that probably
means doing some testing on both an ARM/ARM64 platform with EFI and
IA64.


--
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

\
 
 \ /
  Last update: 2018-02-07 02:04    [W:0.047 / U:0.248 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site