diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2017-08-10 12:28:09 -0400 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-08-29 21:10:37 +0200 |
commit | 430e48ecf31f4f897047f22e02abdfa75730cad8 (patch) | |
tree | 050752c08a106ad1c6bdfeea5f539488f2d98663 /net/openvswitch | |
parent | 15201b5de9d62fd6ece51ba9005c441d588fcb94 (diff) | |
download | linux-stable-430e48ecf31f4f897047f22e02abdfa75730cad8.tar.gz linux-stable-430e48ecf31f4f897047f22e02abdfa75730cad8.tar.bz2 linux-stable-430e48ecf31f4f897047f22e02abdfa75730cad8.zip |
leds: lm3533: constify attribute_group structure
Functions working with attribute_groups provided by <linux/device.h>
work with const attribute_group. These attribute_group structures do not
change at runtime so mark them as const.
File size before:
text data bss dec hex filename
8272 4608 64 12944 3290 drivers/leds/leds-lm3533.o
File size after:
text data bss dec hex filename
8368 4512 64 12944 3290 drivers/leds/leds-lm3533.o
This change was made with the help of Coccinelle.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions