iio: dummy: use specialized event code macros
authorDavid Lechner <dlechner@baylibre.com>
Fri, 1 Nov 2024 22:17:08 +0000 (17:17 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Nov 2024 20:33:45 +0000 (20:33 +0000)
commitc4d4f112bb5869dc356e513ff3876c10ed6f86c7
tree8d95dc11c57c8ac60a5cafd91f1eda642b467580
parent7f4f3c4e977f7d31c431a004640d763dc356e2ec
iio: dummy: use specialized event code macros

Simplify the code by using IIO_UNMOD_EVENT_CODE and IIO_MOD_EVENT_CODE
instead of IIO_EVENT_CODE.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241101-iio-fix-event-macro-use-v1-1-0000c5d09f6d@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dummy/iio_simple_dummy_events.c