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 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



[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