mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 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 <niels.egberts@gmail.com>
@ 2010-03-06 23:52 Niels Egberts
  0 siblings, 0 replies; only message in thread
From: Niels Egberts @ 2010-03-06 23:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: Niels Egberts

---
 drivers/power/pda_power.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c
index a232de6..9d7f091 100644
--- a/drivers/power/pda_power.c
+++ b/drivers/power/pda_power.c
@@ -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) {
-- 
1.7.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-06 23:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-06 23:52 [PATCH] 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 <niels.egberts@gmail.com> Niels Egberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®