[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1503683659-20641-1-git-send-email-harshasharmaiitr@gmail.com>
Date: Fri, 25 Aug 2017 23:24:19 +0530
From: harsha <harshasharmaiitr@...il.com>
To: gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
harsha <harshasharmaiitr@...il.com>
Subject: [PATCH] Staging:typec:tcpm.c : Fixed error Macros with complex values should be enclosed in parentheses Added comment after spinlock_t_definition Signed-off-by: harsha <harshasharmaiitr@...il.com>
---
drivers/staging/typec/tcpm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/typec/tcpm.c b/drivers/staging/typec/tcpm.c
index b800313..a30c01b 100644
--- a/drivers/staging/typec/tcpm.c
+++ b/drivers/staging/typec/tcpm.c
@@ -217,7 +217,9 @@ struct tcpm_port {
unsigned long delayed_runtime;
unsigned long delay_ms;
- spinlock_t pd_event_lock; /* generic spin-lock for usb typec and drivers */
+ spinlock_t pd_event_lock; /* generic spin-lock for usb typec
+ * and drivers
+ */
u32 pd_events;
struct work_struct event_work;
--
1.9.1
Powered by blists - more mailing lists