Re: [PATCH 0/3] iio: finish cleanup of IIO_EVENT_CODE macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 01 Nov 2024 17:17:07 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> 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/

Seems resonable.  Applied to the togreg branch of iio.git
and pushed out as testing.

Thanks,

Jonathan

> 
> ---
> 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,





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux