summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2019-02-11 11:37:28 +0100
committerWolfram Sang <wsa@the-dreams.de>2019-02-24 14:38:03 +0100
commit088a8a7fb408d77b5c3029114f7ed457ed3ee715 (patch)
tree9b595786453c048b5600c8af0adf37575c605154 /drivers/i2c
parent2751541555382dfa7661bcfaac3ee0fac49f505d (diff)
i2c: ocores: turn incomplete kdoc into a comment
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-ocores.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c
index 4eea18689e99..4e1a077fb688 100644
--- a/drivers/i2c/busses/i2c-ocores.c
+++ b/drivers/i2c/busses/i2c-ocores.c
@@ -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;