Re: [PATCH 3/3] mmc: sdhci-of-dwcmshc: use dev_err_probe() to simplify error paths
From: Artem Shimko
Date: Wed May 20 2026 - 03:14:39 EST
Hi Adrian,
On Wed, May 20, 2026 at 9:18 AM Adrian Hunter <adrian.hunter@xxxxxxxxx> wrote:
> > + if (!pltfm_data)
> > + return dev_err_probe(&pdev->dev, -ENODEV,
> > + "Error: No device match data found\n");
>
> "Error: " is especially redundant with dev_err_probe(),
Missed that.
> and it can all be on 1 line e.g.
Got it.
Thank you for your review!
--
Best Regards,
Artem