aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/iio_hwmon.c
diff options
context:
space:
mode:
authorGravatar Geert Uytterhoeven <geert+renesas@glider.be> 2020-12-11 14:35:12 +0100
committerGravatar Guenter Roeck <linux@roeck-us.net> 2020-12-11 07:42:27 -0800
commit561e3121841a8541402a331c19e9b78e3d2786d3 (patch)
treee048d20889fd801a0d0db339bd4eb09fdccea565 /drivers/hwmon/iio_hwmon.c
parenthwmon: (xgene) Drop bogus __refdata annotation (diff)
downloadlinux-561e3121841a8541402a331c19e9b78e3d2786d3.tar.gz
linux-561e3121841a8541402a331c19e9b78e3d2786d3.tar.bz2
linux-561e3121841a8541402a331c19e9b78e3d2786d3.zip
hwmon: (iio_hwmon) Drop bogus __refdata annotation
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 <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20201211133512.2969952-1-geert+renesas@glider.be Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/iio_hwmon.c')
-rw-r--r--drivers/hwmon/iio_hwmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/iio_hwmon.c b/drivers/hwmon/iio_hwmon.c
index b85a125dd86f..580a7d125b88 100644
--- a/drivers/hwmon/iio_hwmon.c
+++ b/drivers/hwmon/iio_hwmon.c
@@ -169,7 +169,7 @@ static const struct of_device_id iio_hwmon_of_match[] = {
};
MODULE_DEVICE_TABLE(of, iio_hwmon_of_match);
-static struct platform_driver __refdata iio_hwmon_driver = {
+static struct platform_driver iio_hwmon_driver = {
.driver = {
.name = "iio_hwmon",
.of_match_table = iio_hwmon_of_match,