Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6675667 authored by Chanwoo Choi's avatar Chanwoo Choi Committed by Greg Kroah-Hartman
Browse files

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: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2cc7e4d4
Loading
Loading
Loading
Loading
+4 −6
Original line number Original line Diff line number Diff line
@@ -564,11 +564,10 @@ static irqreturn_t arizona_hpdet_irq(int irq, void *data)
	}
	}


	ret = arizona_hpdet_read(info);
	ret = arizona_hpdet_read(info);
	if (ret == -EAGAIN) {
	if (ret == -EAGAIN)
		goto out;
		goto out;
	} else if (ret < 0) {
	else if (ret < 0)
		goto done;
		goto done;
	}
	reading = ret;
	reading = ret;


	/* Reset back to starting range */
	/* Reset back to starting range */
@@ -578,11 +577,10 @@ static irqreturn_t arizona_hpdet_irq(int irq, void *data)
			   0);
			   0);


	ret = arizona_hpdet_do_id(info, &reading, &mic);
	ret = arizona_hpdet_do_id(info, &reading, &mic);
	if (ret == -EAGAIN) {
	if (ret == -EAGAIN)
		goto out;
		goto out;
	} else if (ret < 0) {
	else if (ret < 0)
		goto done;
		goto done;
	}


	/* Report high impedence cables as line outputs */
	/* Report high impedence cables as line outputs */
	if (reading >= 5000)
	if (reading >= 5000)