Skip to contentSkip to conversation

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 <[email protected]>

PATCH New harsha 1 participant 1 message Aug 25, 2017 Staging

lore
Share & tools
lore

harsha

author
#0 lore raw

PATCH 1/1 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 <[email protected]>

---
 drivers/staging/typec/tcpm.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/typec/tcpm.c +3 -1
index b800313..a30c01b 100644
@@ -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;
Signature · 1 line
1.9.1