OpenCloudOS-Kernel/drivers/platform/chrome/wilco_ec
Rikard Falkeborn d7c1fef7fd platform/chrome: Constify static attribute_group structs
The only usage of these is to print their name in a dev_err-message, and
to pass their address to sysfs_create_group() and sysfs_remove_group(),
both which takes pointers to const. Make them const to allow the compiler
to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20210109001748.58036-1-rikard.falkeborn@gmail.com
2021-01-20 16:19:17 +01:00
..
Kconfig platform/chrome: wilco_ec: Allow wilco to be compiled in COMPILE_TEST 2020-01-22 10:10:44 +01:00
Makefile platform/chrome: wilco_ec: Add keyboard backlight LED support 2019-11-19 18:12:19 +01:00
core.c platform/chrome: wilco_ec: Add newlines to printks 2020-01-22 10:10:44 +01:00
debugfs.c platform/chrome: wilco_ec: Provide correct output format to 'h1_gpio' file 2020-04-13 16:36:54 +02:00
event.c platform/chrome: wilco_ec: event: Replace zero-length array with flexible-array member 2020-03-22 11:15:28 +01:00
keyboard_leds.c platform/chrome: wilco_ec: Add newlines to printks 2020-01-22 10:10:44 +01:00
mailbox.c platform/chrome: wilco_ec: Add newlines to printks 2020-01-22 10:10:44 +01:00
properties.c platform/chrome: wilco_ec: Platform data shouldn't include kernel.h 2020-02-11 10:32:50 +01:00
sysfs.c platform/chrome: Constify static attribute_group structs 2021-01-20 16:19:17 +01:00
telemetry.c platform/chrome: wilco_ec: Add newlines to printks 2020-01-22 10:10:44 +01:00