diff options
| author | 2016-10-01 15:27:18 +0530 | |
|---|---|---|
| committer | 2016-10-01 14:37:35 +0100 | |
| commit | a9a0d64a8b7af406f03b660cbad948cfd34ed2b0 (patch) | |
| tree | 331715ba7f561bd9a9cbd70d79ad2bc927714c85 /include/linux/timerqueue.h | |
| parent | Staging:iio:light:tsl2583: constify attribute_group structures (diff) | |
iio: Declare event_attrs field of iio_info structure as const
The event_attrs field of iio_info structure is only initialized once
whenever an object of iio_info is created. After that this field
is never modified again anywhere in the kernel. So, declare event_attrs
field of iio_info as a const struct attribute_group.
Checked for occurences throughout the kernel using grep and
coccinelle.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
