mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
The supply_name member of struct regulator can be const as we don't change it in the regulator core. Furthermore, when we copy the supply name we can use kstrdup_const() here to avoid a copy if the name is in the ro data section. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1.5 KiB
1.5 KiB