Skip to contentSkip to conversation

iio: adc: ad7192: Use device api

PATCH Andy Shevchenko 1 participant 1 message Feb 8, 2024 IIO

lore
Share & tools
lore
#0 lore raw

Subject should be:

iio: adc: ad7192: Use device property APIs

Quoted 5 lines · Alisa-Dariana Roman

Replace of.h and corresponding functions with preferred device specific functions.

Also replace of_device_get_match_data() with
spi_get_device_match_data().

...

Quoted 4 lines

#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).

Signature · 2 lines
With Best Regards,
Andy Shevchenko