[PATCH] ASoC: atmel: mchp-pdmc: Remove unnecessary print function dev_err()

Codrin.Ciubotariu at microchip.com Codrin.Ciubotariu at microchip.com
Wed Mar 9 23:22:54 PST 2022


On 10.03.2022 02:22, Jiapeng Chong wrote:
> diff --git a/sound/soc/atmel/mchp-pdmc.c b/sound/soc/atmel/mchp-pdmc.c
> index c44636f6207d..2b48bd3434c7 100644
> --- a/sound/soc/atmel/mchp-pdmc.c
> +++ b/sound/soc/atmel/mchp-pdmc.c
> @@ -988,7 +988,6 @@ static int mchp_pdmc_probe(struct platform_device *pdev)
> 
>          irq = platform_get_irq(pdev, 0);
>          if (irq < 0) {
> -               dev_err(dev, "failed to get irq: %d\n", irq);
>                  return irq;
>          }

The braces should also be removed. With that addressed, you can add:

Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu at microchip.com>

Thanks!


More information about the linux-arm-kernel mailing list