iio: events: make IIO_EVENT_CODE macro private
authorDavid Lechner <dlechner@baylibre.com>
Fri, 1 Nov 2024 22:17:10 +0000 (17:17 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Nov 2024 20:33:45 +0000 (20:33 +0000)
commit01f567d22152dfa8799e9fde5f18bbb5650d8681
tree588060b7a94f331e1e57029e8298f613e5f58db8
parentdff100b0f3ac0f666902e65b2b5dd2580a6146cb
iio: events: make IIO_EVENT_CODE macro private

Make IIO_EVENT_CODE "private" by adding a leading underscore.

There are no more users of this macro in the kernel so we can make it
"private" and encourage developers to use the specialized versions of
the macro instead.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241101-iio-fix-event-macro-use-v1-3-0000c5d09f6d@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/events.h