summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-01-21 17:59:49 +0100
committerJonathan Cameron <jic23@kernel.org>2017-01-22 14:21:42 +0100
commit3bdafc49f5df9f2f741c71b12b76d202211e06f6 (patch)
tree1e1abdbf0ddce7796d51b3ddea3093427ea206b6 /drivers/nvmem
parentiio: trigger: close race condition in acquiring trigger reference (diff)
downloadlinux-3bdafc49f5df9f2f741c71b12b76d202211e06f6.tar.xz
linux-3bdafc49f5df9f2f741c71b12b76d202211e06f6.zip
iio: industrialio-trigger: constify device_type structures
Declare device_type structure as const as it is only stored in the type field of a device structure. This field is of type const, so add const to declaration of device_type structure. File size before: text data bss dec hex filename 5389 208 48 5645 160d iio/industrialio-trigger.o File size after: text data bss dec hex filename 5453 176 48 5677 162d iio/industrialio-trigger.o Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions