iio: adc: ad7192: Use device api
Subject should be:
iio: adc: ad7192: Use device property APIs
Quoted 5 lines · Alisa-Dariana Roman
Replace
of.hand corresponding functions with preferred device specific functions.Also replace
of_device_get_match_data()withspi_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