iio: accel: mma8452: Add missing documentation for name element of chip_info
Jonathan Cameron
maintainerPATCH 1/1 iio: accel: mma8452: Add missing documentation for name element of chip_info
From: Jonathan Cameron <[email protected]>
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 <[email protected]>
Cc Hans de Goede <[email protected]>
--- drivers/iio/accel/mma8452.c | 1 + 1 file changed, 1 insertion(+)
drivers/iio/accel/mma8452.c +1 -0
@@ -166,6 +166,7 @@ static const struct mma8452_event_regs trans_ev_regs = {/** * struct mma_chip_info - chip specific data +* @name: part number of device reported via 'name' attr * @chip_id: WHO_AM_I register's value * @channels: struct iio_chan_spec matching the device's * capabilities
Signature · 1 line
2.35.1
Hi,
For some reason your email is seen by my thunderbird as haivng an empty body + a nameless attachment with the patch... ?
So no quote of the patch here.
With that said, thank you for the patch and the patch looks good to me:
Reviewed-by Hans de Goede <[email protected]>
Regards,
Hans