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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
};