Re: [PATCH v3 1/5] iio: adc: ad7192: Use device api

From: Andy Shevchenko
Date: Thu Feb 08 2024 - 13:48:02 EST


Subject should be:

iio: adc: ad7192: Use device property APIs

On Thu, Feb 08, 2024 at 07:24:55PM +0200, Alisa-Dariana Roman wrote:
> Replace of.h and corresponding functions with preferred device specific
> functions.
>
> Also replace of_device_get_match_data() with
> spi_get_device_match_data().

..

> #include <linux/err.h>
> #include <linux/sched.h>
> #include <linux/delay.h>
> -#include <linux/of.h>

Actually this has to be replaced by property.h (placed somewhere before
slab.h).

--
With Best Regards,
Andy Shevchenko