Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chanwoo Choi and committed by
Greg Kroah-Hartman
d6675667 2cc7e4d4

+4 -6
+4 -6
drivers/extcon/extcon-arizona.c
··· 564 564 } 565 565 566 566 ret = arizona_hpdet_read(info); 567 - if (ret == -EAGAIN) { 567 + if (ret == -EAGAIN) 568 568 goto out; 569 - } else if (ret < 0) { 569 + else if (ret < 0) 570 570 goto done; 571 - } 572 571 reading = ret; 573 572 574 573 /* Reset back to starting range */ ··· 577 578 0); 578 579 579 580 ret = arizona_hpdet_do_id(info, &reading, &mic); 580 - if (ret == -EAGAIN) { 581 + if (ret == -EAGAIN) 581 582 goto out; 582 - } else if (ret < 0) { 583 + else if (ret < 0) 583 584 goto done; 584 - } 585 585 586 586 /* Report high impedence cables as line outputs */ 587 587 if (reading >= 5000)