Commit 7eef0855 authored by Brian Austin's avatar Brian Austin Committed by Mark Brown

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

Return true or false instead of 1 and 0
Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarBrian Austin <brian.austin@cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 38f57532
...@@ -121,9 +121,9 @@ static bool cs35l32_volatile_register(struct device *dev, unsigned int reg) ...@@ -121,9 +121,9 @@ static bool cs35l32_volatile_register(struct device *dev, unsigned int reg)
case CS35L32_INT_STATUS_2: case CS35L32_INT_STATUS_2:
case CS35L32_INT_STATUS_3: case CS35L32_INT_STATUS_3:
case CS35L32_LED_STATUS: case CS35L32_LED_STATUS:
return 1; return true;
default: default:
return 0; return false;
} }
} }
...@@ -134,9 +134,9 @@ static bool cs35l32_precious_register(struct device *dev, unsigned int reg) ...@@ -134,9 +134,9 @@ static bool cs35l32_precious_register(struct device *dev, unsigned int reg)
case CS35L32_INT_STATUS_2: case CS35L32_INT_STATUS_2:
case CS35L32_INT_STATUS_3: case CS35L32_INT_STATUS_3:
case CS35L32_LED_STATUS: case CS35L32_LED_STATUS:
return 1; return true;
default: default:
return 0; return false;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment