power: supply: core: remove opencoded string_lower()
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 29 Sep 2023 17:39:00 +0000 (19:39 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 30 Sep 2023 19:22:25 +0000 (21:22 +0200)
commit0ce51459c8353b2b18ad3a430dbebf29af8b579c
tree7aa8e347c6bc0368d7ebdd412ae2e455e553efc0
parent15a4e422f3c9b041261b6810c90ce09d4ebe2a14
power: supply: core: remove opencoded string_lower()

string_lower from string_helpers.h can be used to modify the string
in-place. Use it to get rid of the custom str_to_lower().

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230929-power_supply-string_lower-v1-1-3141a2634d53@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_sysfs.c