Re: [PATCH 1/3] memory: emif: Simplify code handling CONFIG_DEBUG_FS

From: Krzysztof Kozlowski
Date: Tue Jan 23 2024 - 10:18:46 EST


On 17/12/2023 20:31, Uwe Kleine-König wrote:
> Instead of using #ifdef make use of IS_ENABLED().
>
> According to bloat-o-meter this patch doesn't change code sizes with
> CONFIG_DEBUG_FS=n.
>
> Also change emif_debugfs_init() to return void. The only caller doesn't
> check the return value anyhow.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---

Applied.

Best regards,
Krzysztof