Use the normal return values for bool functions

Signed-off-by: Joe Perches <j...@perches.com>
---
 include/sound/soc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/sound/soc.h b/include/sound/soc.h
index fcb312b..5ca7ec0 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1418,13 +1418,13 @@ static inline void snd_soc_initialize_card_lists(struct 
snd_soc_card *card)
 static inline bool snd_soc_volsw_is_stereo(struct soc_mixer_control *mc)
 {
        if (mc->reg == mc->rreg && mc->shift == mc->rshift)
-               return 0;
+               return false;
        /*
         * mc->reg == mc->rreg && mc->shift != mc->rshift, or
         * mc->reg != mc->rreg means that the control is
         * stereo (bits in one register or in two registers)
         */
-       return 1;
+       return true;
 }
 
 static inline unsigned int snd_soc_enum_val_to_item(struct soc_enum *e,
-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to