Skip to content

iio: imu: drop #ifdef around CONFIG_DEBUG_FS

Nuno Sa b4-sent linux-iio 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected] change-id 20240809-dev-adis-debugfs-improv-e007579b5262

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4iio: imu: adis16475: drop ifdef around CONFIG_DEBUG_FSdrivers/iio/imu/adis16475.c+3 -60 replies
2/4iio: imu: adis16480: drop ifdef around CONFIG_DEBUG_FSdrivers/iio/imu/adis16480.c+4 -140 replies
3/4iio: imu: adis16400: drop ifdef around CONFIG_DEBUG_FSdrivers/iio/imu/adis16400.c+4 -140 replies
4/4iio: imu: adis16460: drop ifdef around CONFIG_DEBUG_FSdrivers/iio/imu/adis16460.c+4 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] iio: imu: drop #ifdef around CONFIG_DEBUG_FS

Hi,

Small series to make the IMUs debugfs code a bit neater. As mentioned in the commit message, let's allow the compiler to drop any unused instead of guarding it with #ifdefs.

---
Nuno Sa (4):
iio: imu: adis16475: drop ifdef around CONFIG_DEBUG_FS
iio: imu: adis16480: drop ifdef around CONFIG_DEBUG_FS
iio: imu: adis16400: drop ifdef around CONFIG_DEBUG_FS
iio: imu: adis16460: drop ifdef around CONFIG_DEBUG_FS

 drivers/iio/imu/adis16400.c | 18 ++++--------------
 drivers/iio/imu/adis16460.c | 18 ++++--------------
 drivers/iio/imu/adis16475.c |  9 +++------
 drivers/iio/imu/adis16480.c | 18 ++++--------------
 4 files changed, 15 insertions(+), 48 deletions(-)

---
base-commit: 7cad163c39cb642ed587d3eeb37a5637ee02740f
change-id: 20240809-dev-adis-debugfs-improv-e007579b5262 --

Thanks!
- Nuno Sá