Unverified Commit 10754bfc authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Mark Brown
Browse files

ASoC: tda7419: use true and false for boolean values



Return statements in functions returning bool should use true or false
instead of an integer value.

This code was detected with the help of Coccinelle.

Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 508e8641
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -142,9 +142,9 @@ struct tda7419_vol_control {
static inline bool tda7419_vol_is_stereo(struct tda7419_vol_control *tvc)
{
	if (tvc->reg == tvc->rreg)
		return 0;
		return false;

	return 1;
	return true;
}

static int tda7419_vol_info(struct snd_kcontrol *kcontrol,