[PATCH v2 11/15] staging: fbtft: Includes description to mutex and spinlock - Style

From: Leonardo BrÃs
Date: Tue Aug 07 2018 - 20:29:38 EST


Includes description to mutex and spinlocks, as recommended by checkpatch.pl.

Signed-off-by: Leonardo BrÃs <leobras.c@xxxxxxxxx>
---
drivers/staging/fbtft/fbtft.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/fbtft/fbtft.h b/drivers/staging/fbtft/fbtft.h
index 6ee9ff320567..f771271d497a 100644
--- a/drivers/staging/fbtft/fbtft.h
+++ b/drivers/staging/fbtft/fbtft.h
@@ -203,7 +203,7 @@ struct fbtft_par {
u8 *buf;
u8 startbyte;
struct fbtft_ops fbtftops;
- spinlock_t dirty_lock;
+ spinlock_t dirty_lock; /*Protects dirty_lines_{start,end}*/
unsigned int dirty_lines_start;
unsigned int dirty_lines_end;
struct {
@@ -219,7 +219,7 @@ struct fbtft_par {
} gpio;
const s16 *init_sequence;
struct {
- struct mutex lock;
+ struct mutex lock; /*Mutex for Gamma curve locking*/
u32 *curves;
int num_values;
int num_curves;
--
2.18.0