Skip to contentSkip to conversation

Staging: android: fix coding style issue in timed_gpio.c

PATCH Dan Carpenter 1 participant 1 message May 7, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines · John Church

This patch fixes a coding style issue. It modifies a single line that was over 80 characters long.

Thanks,
John

This patch isn't sent in the correct way. Use git send-email or read Documentation/email-clients.txt. Send the patch to yourself. Save it as raw text including headers and everything.
cat raw_email.txt | git am. Review the log with "git log -p". When that looks good then resend it to the list.

drivers/staging/android/timed_gpio.c static int timed_gpio_probe(struct platf · line 96

Quoted 10 lines
drivers/staging/android/timed_gpio.c renamed from drivers/staging/android/timed_gpio.c.orig +1 -1
@@ -92,7 +92,7 @@ static int timed_gpio_probe(struct platf
 		return -EBUSY;
 
 	gpio_data = devm_kzalloc(&pdev->dev,
-				sizeof(struct timed_gpio_data) * pdata->num_gpios,
+			sizeof(struct timed_gpio_data) * pdata->num_gpios,
 				GFP_KERNEL);

To be honest, I prefered the original because everything lined up nicely in the original. Now it just looks whacky.

regards,
dan carpenter

Quoted 2 lines
drivers/staging/android/timed_gpio.c renamed from drivers/staging/android/timed_gpio.c.orig +0 -0
 	if (!gpio_data)
 		return -ENOMEM;