Re: [PATCH] hwmon: (iio_hwmon) Drop bogus __refdata annotation

2020-12-11 Thread Guenter Roeck
On Fri, Dec 11, 2020 at 02:35:12PM +0100, Geert Uytterhoeven wrote: > As the IIO hardware monitoring driver does not have any code or data > located in initmem, there is no need to annotate the iio_hwmon_driver > structure with __refdata. Drop the annotation, to avoid suppressing > future section

[PATCH] hwmon: (iio_hwmon) Drop bogus __refdata annotation

2020-12-11 Thread Geert Uytterhoeven
As the IIO hardware monitoring driver does not have any code or data located in initmem, there is no need to annotate the iio_hwmon_driver structure with __refdata. Drop the annotation, to avoid suppressing future section warnings. Signed-off-by: Geert Uytterhoeven --- drivers/hwmon/iio_hwmon.c