iio: accel: mma9553: make mma9553_event_info const
authorDavid Lechner <dlechner@baylibre.com>
Sat, 28 Jun 2025 16:00:07 +0000 (11:00 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Jul 2025 09:37:51 +0000 (10:37 +0100)
commit3307461aead6523952c0ba28c9d0537b3328ed7c
tree21105ab050682609223f5ffc2212ab52c80db6a7
parent31c3bed202dd9b20d1fda7bbde60c450b6c316a1
iio: accel: mma9553: make mma9553_event_info const

Add const qualifier to struct mma9553_event_info mma9553_event_info[].
This is read-only data so it can be made const.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250628-iio-const-data-2-v1-1-a61da3a0941e@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/mma9553.c