Skip to contentSkip to conversation

Power: fix brace coding style issue in pda_power.c This is a patch to the pda_power.c file that fixes up a brace warning found by the checkpatch.pl tool Signed-off-by: Niels Egberts <[email protected]>

PATCH New Niels Egberts 1 participant 1 message Mar 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Power: fix brace coding style issue in pda_power.c This is a patch to the pda_power.c file that fixes up a brace warning found by the checkpatch.pl tool Signed-off-by: Niels Egberts <[email protected]>

---
 drivers/power/pda_power.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/power/pda_power.c +2 -2
index a232de6..9d7f091 100644
@@ -305,9 +305,9 @@ static int pda_power_probe(struct platform_device *pdev)
 
 #ifdef CONFIG_USB_OTG_UTILS
 	transceiver = otg_get_transceiver();
-	if (transceiver && !pdata->is_usb_online) {
+	if (transceiver && !pdata->is_usb_online)
 		pdata->is_usb_online = otg_is_usb_online;
-	}
+
 #endif
 
 	if (pdata->is_usb_online) {
Signature · 1 line
1.7.0