Re: [PATCH] soc: tegra: cbb: Drop unnecessary debugfs error handling

From: Thierry Reding
Date: Thu Jan 09 2025 - 08:45:47 EST


From: Thierry Reding <treding@xxxxxxxxxx>


On Sat, 04 Jan 2025 15:19:58 +0100, Krzysztof Kozlowski wrote:
> Kernel coding style expects all drivers to ignore debugfs errors.
> Partially because it is purely for debugging, not for important user
> interfaces. Simplify the code by dropping unnecessary probe failuring
> and error message on debugfs failures, which also fixes incorrect usage
> IS_ERR_OR_NULL() and Smatch warning:
>
> drivers/soc/tegra/cbb/tegra-cbb.c:80 tegra_cbb_err_debugfs_init() warn: passing zero to 'PTR_ERR'
>
> [...]

Applied, thanks!

[1/1] soc: tegra: cbb: Drop unnecessary debugfs error handling
commit: 74d4d7c64d89aaf3e08aa06a6967dbc540b72c06

Best regards,
--
Thierry Reding <treding@xxxxxxxxxx>