Re: [PATCH] iio: imu: bno055: make bno055_sysfs_attr const
From: Jonathan Cameron
Date: Sun Jun 29 2025 - 13:15:03 EST
On Sat, 28 Jun 2025 12:35:36 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:
> Add const qualifier to struct bno055_sysfs_attr and its array fields.
> All of this is read-only data so it can be made const.
>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
I was a little more dubious about this one and whether the scope of the changes
made it not worthwhile. Still const when possible is always good so
applied to the testing branch.
Thanks,
Jonathan