Skip to content

Commit

Permalink
ASoC: cs4265: Change return values to boolean.
Browse files Browse the repository at this point in the history
The cs4265_volatile_register reutrns a bool. The function now returns
true or false vs 1 and 0.

Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Paul Handrigan authored and Mark Brown committed Jun 30, 2014
1 parent fb6f806 commit 59f5cbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/cs4265.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ static bool cs4265_volatile_register(struct device *dev, unsigned int reg)
{
switch (reg) {
case CS4265_INT_STATUS:
return 1;
return true;
default:
return 0;
return false;
}
}

Expand Down

0 comments on commit 59f5cbe

Please sign in to comment.