[PATCH 15/34] iio: humidity: hts221_buffer: explicitly add proper header files
Andy Shevchenko
andy.shevchenko at gmail.com
Fri Jun 10 07:47:16 PDT 2022
On Fri, Jun 10, 2022 at 10:47 AM Nuno Sá <nuno.sa at analog.com> wrote:
>
> Do not trust the fact that iio.h includes of.h which in turn includes
> all the headers we are relying on.
>
> The ultimate goal is to actually drop of.h from iio.h.
...
> #include <linux/irqreturn.h>
> #include <linux/regmap.h>
> #include <linux/bitfield.h>
> +#include <linux/property.h>
Yes, I see, but you can make life easier if you try to squeeze to the
most sorted part. I do not see full context, but here I would put it
before regmap.h.
--
With Best Regards,
Andy Shevchenko
More information about the Linux-mediatek
mailing list