diff options
author | Victor Colombo <victorcolombo@gmail.com> | 2018-11-23 22:23:11 -0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-12-01 15:40:22 +0000 |
commit | 3a1203bfa4964550a706fd786df9bcbcd026d8ed (patch) | |
tree | 0e09baae76a32c039673d66862f21e3b913870dd /drivers/staging/iio | |
parent | 07e00822cca5975b6df245554b8495dfee8482e0 (diff) | |
download | linux-3a1203bfa4964550a706fd786df9bcbcd026d8ed.tar.gz linux-3a1203bfa4964550a706fd786df9bcbcd026d8ed.tar.bz2 linux-3a1203bfa4964550a706fd786df9bcbcd026d8ed.zip |
staging:iio:ad2s90: Add comment to device state mutex
Fix the checkpatch.pl issue:
"CHECK: struct mutex definition without comment".
Signed-off-by: Victor Colombo <victorcolombo@gmail.com>
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Acked-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/resolver/ad2s90.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/resolver/ad2s90.c b/drivers/staging/iio/resolver/ad2s90.c index 678351dabe6b..a41f5cb10da5 100644 --- a/drivers/staging/iio/resolver/ad2s90.c +++ b/drivers/staging/iio/resolver/ad2s90.c @@ -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; }; |