[PATCH] Staging: android: timed_gpio: fixed bare use of 'unsigned'

Shyam Saini mayhs11saini at gmail.com
Mon Apr 4 15:42:28 UTC 2016


'unsigned int gpio' is added in place of 'unsigned gpio'

Signed-off-by: Shyam Saini <mayhs11saini at gmail.com>
---
 drivers/staging/android/timed_gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/android/timed_gpio.c b/drivers/staging/android/timed_gpio.c
index 914fd10..8926b3f 100644
--- a/drivers/staging/android/timed_gpio.c
+++ b/drivers/staging/android/timed_gpio.c
@@ -29,7 +29,7 @@ struct timed_gpio_data {
 	struct timed_output_dev dev;
 	struct hrtimer timer;
 	spinlock_t lock;
-	unsigned gpio;
+	unsigned int gpio;
 	int max_timeout;
 	u8 active_low;
 };
-- 
1.9.1



More information about the devel mailing list