Re: [PATCH v6 1/4] mfd: intel-lpss: Remove redundant DebugFS error check
From: Andy Shevchenko
Date: Wed Sep 16 2026 - 13:07:02 EST
On Wed, Sep 16, 2026 at 07:36:39PM +0500, Maria Lisina wrote:
> The DebugFS API is designed to handle errors gracefully.
> Any explicit checking on return values is considered an anti-pattern.
>
> This patch removes unnecessary error checking and converts
> intel_lpss_debugfs_add() into a void function.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko