i2c: ocores: turn incomplete kdoc into a comment
authorWolfram Sang <wsa@the-dreams.de>
Mon, 11 Feb 2019 10:37:28 +0000 (11:37 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 24 Feb 2019 13:38:03 +0000 (14:38 +0100)
gcc complains, rightfully so, I think:

drivers/i2c/busses/i2c-ocores.c:32: warning: Cannot understand  * @process_lock: protect I2C transfer process.
 on line 32 - I thought it was a doc line

Make it a simple comment.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-ocores.c

index 4eea186..4e1a077 100644 (file)
@@ -28,9 +28,9 @@
 
 #define OCORES_FLAG_POLL BIT(0)
 
-/**
- * @process_lock: protect I2C transfer process.
- *     ocores_process() and ocores_process_timeout() can't run in parallel.
+/*
+ * 'process_lock' exists because ocores_process() and ocores_process_timeout()
+ * can't run in parallel.
  */
 struct ocores_i2c {
        void __iomem *base;