Re: [PATCH] iio: st-sensors: Remove some unused includes and add some that should be there

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 9 Jun 2021 09:53:57 +0200
Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:

> On Tue, Jun 8, 2021 at 7:50 PM Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> 
> > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> >
> > The st-sensors drivers have changed in structure over time, and includes
> > have not always kept up with this.  Let's bring them back to nearer
> > the ideal.
> >
> > Identified with the  include-what-you-use tool and careful checking of
> > its suggestions.
> >
> > Note I haven't been particularly aggressive here, so this is just the
> > cases where the include obviously isn't needed rather than the more
> > subtle corners.
> >
> > Note I took the opportunity to add mod_devicetable.h as I generally
> > prefer to see that when acpi or of match tables are present.
> >
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> > Cc: Denis Ciocca <denis.ciocca@xxxxxx>
> > Cc: Hans de Goede <hdegoede@xxxxxxxxxx>  
> 
> Looks good to me.
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> 
> Yours,
> Linus Walleij
This seems unaffected by the questions around kernel.h and the
splitting that Andy is working on for that.  Hence applied to the togreg
branch of iio.git and pushed out as testing to see if 0-day can find
anything I missed.

Thanks,

Jonathan





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux