]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: atmel: mchp-pdmc: Remove unnecessary print function dev_err()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 10 Mar 2022 08:27:56 +0000 (16:27 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 10 Mar 2022 12:17:51 +0000 (12:17 +0000)
commit2588a01431a85a9bb8b2eac9023181ddd714a695
tree67446a272ce891069a1cf8b5ae4835c2c01c07b0
parent6ddf611219ba8f7c8fa0d26b39710a641e7d37a5
ASoC: atmel: mchp-pdmc: Remove unnecessary print function dev_err()

The print function dev_err() is redundant because
platform_get_irq() already prints an error.

Eliminate the follow coccicheck warning:

./sound/soc/atmel/mchp-pdmc.c:991:2-9: line 991 is redundant because
platform_get_irq() already prints an error.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20220310082756.1183-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/mchp-pdmc.c