summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-wm8994.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-12-17 22:31:31 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-01-23 18:15:57 +0300
commitb8631e4b96bb4b0c4f5a57d5767afe5e56eba075 (patch)
tree0f6a0802bb612b10a0fde00c9d9a28b2a560e226 /drivers/gpio/gpio-wm8994.c
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
downloadlinux-b8631e4b96bb4b0c4f5a57d5767afe5e56eba075.tar.xz
memory: emif: Simplify code handling CONFIG_DEBUG_FS
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@pengutronix.de> Link: https://lore.kernel.org/r/2c7dd66d4a101b74b16e7e1839e30f3c88510c33.1702829744.git.u.kleine-koenig@pengutronix.de Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-wm8994.c')
0 files changed, 0 insertions, 0 deletions