]> www.infradead.org Git - users/willy/xarray.git/commit
power: supply: sysfs: use power_supply_property_is_writeable()
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 8 Jun 2024 19:19:37 +0000 (21:19 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 4 Jul 2024 10:30:49 +0000 (12:30 +0200)
commitbe6299c6e55e971ffc060495708740a59aa0e45b
treefa91a89e6898123173588cbfbd81e696a0588d4d
parent29832adac01a1057e89579c977ef4776623ee463
power: supply: sysfs: use power_supply_property_is_writeable()

Instead of open-coding the helper use it directly.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240608-power-supply-extensions-v2-1-2dcd35b012ad@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_sysfs.c