aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorNuno Sa <nuno.sa@analog.com>2024-08-09 11:17:06 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-10 11:39:57 +0100
commitcec920f67e562821812b10f78334d91d81a4e26f (patch)
tree8f7f86cfed85738962f3bd6d238ec8da0e0d8c30 /tools/perf/scripts/python/gecko.py
parentc5d2291a3086f4b59ae42d5082cfe45ef9103062 (diff)
iio: imu: adis16475: drop ifdef around CONFIG_DEBUG_FS
Use IS_ENABLED(CONFIG_DEBUG_FS) to return early in case debugfs is not present. Since this is known at compile time, it allows the compiler to drop any unused code. Therefore no need to wrap the code with #ifdef. Signed-off-by: Nuno Sa <nuno.sa@analog.com> Link: https://patch.msgid.link/20240809-dev-adis-debugfs-improv-v1-1-d3adb6996518@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions