Messages in this thread Patch in this message |  | | From | harsha <> | 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 <> | Date | Fri, 25 Aug 2017 23:24:19 +0530 |
| |
--- 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
|  |