>From 23573696f7dcc38d3182ed8da53525284ee83f6f Mon Sep 17 00:00:00 2001 From: Saiyam Doshi Date: Wed, 9 Mar 2016 00:28:45 +0530 Subject: [PATCH 2/2] staging: android: Fixed coding style issue reported by checkpatch spinlock_t definition without comment Signed-off-by: Saiyam Doshi --- drivers/staging/android/timed_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/timed_gpio.c b/drivers/staging/android/timed_gpio.c index bcd9924..cede99a 100644 --- a/drivers/staging/android/timed_gpio.c +++ b/drivers/staging/android/timed_gpio.c @@ -28,6 +28,7 @@ struct timed_gpio_data { struct timed_output_dev dev; struct hrtimer timer; + /* lock protects gpio access while setting it's value */ spinlock_t lock; unsigned gpio; int max_timeout; -- 1.9.1