Since [1], there are only a couple of users IIO_EVENT_CODE left in the kernel. We can clean these up too. Then we can make that macro "private" do discourage others from using it in the future. [1]: https://lore.kernel.org/linux-iio/20241028-iio-add-macro-for-even-identifier-for-differential-channels-v1-0-b452c90f7ea6@xxxxxxxxxxxx/ --- David Lechner (3): iio: dummy: use specialized event code macros iio: accel: mma9553: use specialized event code macros iio: events: make IIO_EVENT_CODE macro private drivers/iio/accel/mma9553.c | 24 +++++++++++------------ drivers/iio/dummy/iio_simple_dummy_events.c | 30 ++++++++++++++--------------- include/linux/iio/events.h | 15 +++++++++------ 3 files changed, 34 insertions(+), 35 deletions(-) --- base-commit: c218214db564ca7d6885fa5859541a86197856c0 change-id: 20241101-iio-fix-event-macro-use-cb374ab30c99 Best regards, -- David Lechner <dlechner@xxxxxxxxxxxx>