From: Victor Colombo Date: Sat, 24 Nov 2018 00:23:11 +0000 (-0200) Subject: staging:iio:ad2s90: Add comment to device state mutex X-Git-Tag: v5.15~7300^2~78^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a1203bfa4964550a706fd786df9bcbcd026d8ed;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Matheus Tavares Acked-by: Alexandru Ardelean Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/resolver/ad2s90.c b/drivers/staging/iio/resolver/ad2s90.c index 678351d..a41f5cb 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; };