Re: [PATCH 1/9] Remove unused headers <linux/jz4740-adc.h> and <linux/power/jz4740-battery.h>

From: Lee Jones
Date: Wed Nov 03 2021 - 06:14:04 EST


On Wed, 03 Nov 2021, Paul Cercueil wrote:

> Hi Lee,
>
> Le mer., nov. 3 2021 at 07:43:51 +0000, Lee Jones <lee.jones@xxxxxxxxxx> a
> écrit :
> > On Tue, 02 Nov 2021, Jonathan Corbet wrote:
> >
> > > Commit ff71266aa490 ("mfd: Drop obsolete JZ4740 driver") removed
> > > the last
> > > file to include <linux/jz4740-adc.h> but left the header file itself
> > > behind. Nothing uses it, remove it now.
> > >
> > > Similarly, aea12071d6fc ("power/supply: Drop obsolete JZ4740
> > > driver")
> > > deleted the last use of <linux/power/jz4740-battery.h>, so remove
> > > that one
> > > too.
> > >
> > > Cc: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
> > > Cc: Lee Jones <lee.jones@xxxxxxxxxx>
> > > Cc: Paul Burton <paul.burton@xxxxxxxx>
> > > Cc: Sebastian Reichel <sre@xxxxxxxxxx>
> > > Cc: linux-pm@xxxxxxxxxxxxxxx
> > > Signed-off-by: Jonathan Corbet <corbet@xxxxxxx>
> > > ---
> > > include/linux/jz4740-adc.h | 33
> > > ----------------------------
> > > include/linux/power/jz4740-battery.h | 15 -------------
> >
> > It appears as though there are still references to both of these
> > *devices* in the kernel tree. Should those be removed also?
>
> These files were for older drivers that were since then replaced by newer
> drivers; JZ47xx SoCs are still officially supported and maintained.

Okay, great.

Thanks for the explanation Paul.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog