Re: [PATCH 6/6] include: linux: iio: Add missing kernel doc field

From: Jonathan Cameron
Date: Sun Aug 02 2015 - 13:37:18 EST


On 24/07/15 14:26, Cristina Opriceana wrote:
> Fix kernel doc for the iio_dev_attr structure by adding its missing field.
>
> Signed-off-by: Cristina Opriceana <cristina.opriceana@xxxxxxxxx>
Applied to the togreg branch fo iio.git with one small change.
> ---
> include/linux/iio/sysfs.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/linux/iio/sysfs.h b/include/linux/iio/sysfs.h
> index 8a1d186..71fdd6f 100644
> --- a/include/linux/iio/sysfs.h
> +++ b/include/linux/iio/sysfs.h
> @@ -18,7 +18,8 @@ struct iio_chan_spec;
> * struct iio_dev_attr - iio specific device attribute
> * @dev_attr: underlying device attribute
> * @address: associated register address
> - * @l: list head for maintaining list of dynamically created attrs.
> + * @l: list head for maintaining list of dynamically created attrs
> + * @c: specification for the underlying channels
Only reflects the channel (rather than channels) which resulted in it's creation
(for shared channels the code is supposed to work with any of them being pointed
to here!)

Hence channels -> channel
> */
> struct iio_dev_attr {
> struct device_attribute dev_attr;
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/