diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2013-08-22 21:21:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 15:03:31 -0400 |
commit | d6675667540a19427099cfd7eb80fcd4320a951d (patch) | |
tree | f0a2ee94239e48cc440d99d233471e2bc693f562 /drivers/extcon/extcon-arizona.c | |
parent | 2cc7e4d4b8086a8ad2299b30b610624aa911d1f8 (diff) |
extcon: arizona: Fix up minor coding style to remove unnecessary braces
This fixes up braces coding style issue by using checkpatch script.
Cc: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon/extcon-arizona.c')
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index 9431092f52fc..91a702beccc5 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -564,11 +564,10 @@ static irqreturn_t arizona_hpdet_irq(int irq, void *data) | |||
564 | } | 564 | } |
565 | 565 | ||
566 | ret = arizona_hpdet_read(info); | 566 | ret = arizona_hpdet_read(info); |
567 | if (ret == -EAGAIN) { | 567 | if (ret == -EAGAIN) |
568 | goto out; | 568 | goto out; |
569 | } else if (ret < 0) { | 569 | else if (ret < 0) |
570 | goto done; | 570 | goto done; |
571 | } | ||
572 | reading = ret; | 571 | reading = ret; |
573 | 572 | ||
574 | /* Reset back to starting range */ | 573 | /* Reset back to starting range */ |
@@ -578,11 +577,10 @@ static irqreturn_t arizona_hpdet_irq(int irq, void *data) | |||
578 | 0); | 577 | 0); |
579 | 578 | ||
580 | ret = arizona_hpdet_do_id(info, &reading, &mic); | 579 | ret = arizona_hpdet_do_id(info, &reading, &mic); |
581 | if (ret == -EAGAIN) { | 580 | if (ret == -EAGAIN) |
582 | goto out; | 581 | goto out; |
583 | } else if (ret < 0) { | 582 | else if (ret < 0) |
584 | goto done; | 583 | goto done; |
585 | } | ||
586 | 584 | ||
587 | /* Report high impedence cables as line outputs */ | 585 | /* Report high impedence cables as line outputs */ |
588 | if (reading >= 5000) | 586 | if (reading >= 5000) |