diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2021-06-24 18:45:05 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-11 23:48:38 +0100 |
commit | 8620c40002db9679279546cc3be2aceb8c5e5e76 (patch) | |
tree | ec2d97d4183ce3c959cab59c6e224dde295ad212 /sound/soc/fsl/fsl_xcvr.c | |
parent | d5bb69dc54ec1e09f3fd626fdb9c340c0511dbd5 (diff) |
ASoC: fsl_xcvr: Omit superfluous error message in fsl_xcvr_probe()
In the function fsl_xcvr__probe(), when get irq failed,
the function platform_get_irq() logs an error message, so remove
redundant message here.
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20210624104505.13680-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_xcvr.c')
-rw-r--r-- | sound/soc/fsl/fsl_xcvr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c index fb7c29fc39d7..31c5ee641fe7 100644 --- a/sound/soc/fsl/fsl_xcvr.c +++ b/sound/soc/fsl/fsl_xcvr.c @@ -1189,10 +1189,8 @@ static int fsl_xcvr_probe(struct platform_device *pdev) /* get IRQs */ irq = platform_get_irq(pdev, 0); - if (irq < 0) { - dev_err(dev, "no irq[0]: %d\n", irq); + if (irq < 0) return irq; - } ret = devm_request_irq(dev, irq, irq0_isr, 0, pdev->name, xcvr); if (ret) { |