Re: [PATCH] platform/chrome: Constify static attribute_group structs

From: Enric Balletbo i Serra
Date: Wed Jan 20 2021 - 10:16:57 EST


On Sat, 9 Jan 2021 01:17:48 +0100, Rikard Falkeborn wrote:
> 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.

Applied, thanks!

[1/1] platform/chrome: Constify static attribute_group structs
commit: ed07d774c4b2793be4d2bfc62cf69c3e55667f5a

Best regards,
--
Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>