iio: Move __private marking before struct element priv in struct iio_dev
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 7 Nov 2024 18:52:33 +0000 (18:52 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 9 Nov 2024 10:42:13 +0000 (10:42 +0000)
This is to avoid tripping up kernel-doc which filters it out before
but not after the name.

Note the formatting is less than ideal as a result so we may revisit
in future.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/iio.h

index 59c58f4..ae65890 100644 (file)
@@ -624,7 +624,7 @@ struct iio_dev {
        const struct iio_info           *info;
        const struct iio_buffer_setup_ops       *setup_ops;
 
-       void                            *priv __private;
+       void                            *__private priv;
 };
 
 int iio_device_id(struct iio_dev *indio_dev);