]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: ssm2518: Use a signed return type for ssm2518_lookup_mcs()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 20 Dec 2015 09:34:25 +0000 (10:34 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 22 Dec 2015 23:59:25 +0000 (23:59 +0000)
commitbfbcab7c2d8ab4cb52f0785d7381d20f39bb065b
treea48356cfce1608b7ff424af655b58a746a684e5c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: ssm2518: Use a signed return type for ssm2518_lookup_mcs()

The return type "unsigned int" was used by the ssm2518_lookup_mcs()
function even though it will eventually return a negative error code.
Improve this implementation detail by deletion of the type modifier then.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ssm2518.c