Skip to content

Commit

Permalink
ASoC: cs42l52: use true/false returns for bool functions
Browse files Browse the repository at this point in the history
Return true or false instead of 1 and 0

Signed-off-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Brian Austin authored and Mark Brown committed Aug 28, 2014
1 parent 7d1311b commit 5c216cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/cs42l52.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ static bool cs42l52_volatile_register(struct device *dev, unsigned int reg)
case CS42L52_BATT_LEVEL:
case CS42L52_SPK_STATUS:
case CS42L52_CHARGE_PUMP:
return 1;
return true;
default:
return 0;
return false;
}
}

Expand Down

0 comments on commit 5c216cc

Please sign in to comment.