]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm/komeda: Remove all CONFIG_DEBUG_FS conditional compilations
authorpengfuyuan <pengfuyuan@kylinos.cn>
Thu, 6 Jun 2024 12:08:42 +0000 (20:08 +0800)
committerMaxime Ripard <mripard@kernel.org>
Fri, 14 Jun 2024 06:57:28 +0000 (08:57 +0200)
commit41f590e31c6c8b8a0a490b7c1ad2e57c20ec3d9b
treee259a0d93b287042ec68fa8323a479826ec800c2
parentc38896ca6318c2df20bbe6c8e3f633e071fda910
arm/komeda: Remove all CONFIG_DEBUG_FS conditional compilations

Since the debugfs functions have no-op stubs for CONFIG_DEBUG_FS=n,
the compiler will optimize the rest away since they are no longer referenced.

The benefit of removing the conditional compilation is that the build
is actually tested for both CONFIG_DEBUG_FS configuration values.
Assuming most developers have it enabled, CONFIG_DEBUG_FS=n is not tested
much and may fail the build due to the conditional compilation.

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: pengfuyuan <pengfuyuan@kylinos.cn>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240606120842.1377267-1-pengfuyuan@kylinos.cn
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/arm/display/komeda/komeda_dev.c