Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: accel: mma8452: Add missing documentation for name element of chip_info

Documentation needed to avoid build warning with W=1 builds. It doesn't
really add any non obvious information but good to have it anyway.

No fixes tag as not worth backporting onto the fix that added the name
element to the structure.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220410153317.290896-1-jic23@kernel.org

+1
+1
drivers/iio/accel/mma8452.c
··· 166 166 167 167 /** 168 168 * struct mma_chip_info - chip specific data 169 + * @name: part number of device reported via 'name' attr 169 170 * @chip_id: WHO_AM_I register's value 170 171 * @channels: struct iio_chan_spec matching the device's 171 172 * capabilities