Commit 3a1203bf authored by Victor Colombo's avatar Victor Colombo Committed by Jonathan Cameron

staging:iio:ad2s90: Add comment to device state mutex

Fix the checkpatch.pl issue:
"CHECK: struct mutex definition without comment".
Signed-off-by: default avatarVictor Colombo <victorcolombo@gmail.com>
Signed-off-by: default avatarMatheus Tavares <matheus.bernardino@usp.br>
Acked-by: default avatarAlexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 07e00822
......@@ -22,7 +22,7 @@
#define AD2S90_MAX_SPI_FREQ_HZ 830000
struct ad2s90_state {
struct mutex lock;
struct mutex lock; /* lock to protect rx buffer */
struct spi_device *sdev;
u8 rx[2] ____cacheline_aligned;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment