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 i
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
---
drivers/
2 matches
Mail list logo