]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_sai: Add missing return 0 in remove()
authorNicolin Chen <nicoleotsuka@gmail.com>
Fri, 26 Apr 2019 03:20:50 +0000 (20:20 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 26 Apr 2019 09:50:29 +0000 (10:50 +0100)
commitdcc25fe2568cdc61cdb46d07d4d9aff12ef6c5af
tree5f6d2dfb049d8b923b273ac3d09eaff750283b82
parenta1e11ff9fda75347b21e1df64de19f24d3d92d9d
ASoC: fsl_sai: Add missing return 0 in remove()

Build warning being reported:
    sound/soc/fsl/fsl_sai.c: In function 'fsl_sai_remove':
    sound/soc/fsl/fsl_sai.c:921:1: warning: no return statement in
    function returning non-void [-Wreturn-type]

So this patch just adds a "return 0" to fix it.

Fixes: 59611ee74ec7 ("ASoC: fsl_sai: Add support for runtime pm")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c