Re: [PATCH 4/8] hwmon: (pmbus/core) Make debugfs code unconditional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 08, 2025 at 05:26:13PM -0800, Guenter Roeck wrote:
> Drop contitionals around debugfs code to compile it unconditionally.
> In practice it will be optimized away by the compiler if CONFIG_DEBUG_FS
> is not enabled, so the code size is not affected by this change.
> 
> Also silently ignore errors if debugfs initialization fails.
> 
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux