[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@xxxxxxxxx>

From: harsha
Date: Fri Aug 25 2017 - 13:56:22 EST


---
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