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

Commit 5c216cc3 authored by Brian Austin's avatar Brian Austin Committed by Mark Brown
Browse files

ASoC: cs42l52: use true/false returns for bool functions



Return true or false instead of 1 and 0

Signed-off-by: default avatarBrian Austin <brian.austin@cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 7d1311b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -176,9 +176,9 @@ static bool cs42l52_volatile_register(struct device *dev, unsigned int reg)
	case CS42L52_BATT_LEVEL:
	case CS42L52_BATT_LEVEL:
	case CS42L52_SPK_STATUS:
	case CS42L52_SPK_STATUS:
	case CS42L52_CHARGE_PUMP:
	case CS42L52_CHARGE_PUMP:
		return 1;
		return true;
	default:
	default:
		return 0;
		return false;
	}
	}
}
}