]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: core: get rid of of_node
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 24 Feb 2025 23:21:34 +0000 (00:21 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 8 Mar 2025 00:42:34 +0000 (01:42 +0100)
commit134254038739a6c6ecb7548a2f895d89a0dc9d2a
tree9eacb14a34e2460b8ddbbda7af25e6e53c5cb8b1
parent2fc78cd0a3c3013543e5f540eff61e9696138f83
power: supply: core: get rid of of_node

This removes .of_node from 'struct power_supply', since there
is already a copy in .dev.of_node and there is no need to have
two copies.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250225-psy-core-convert-to-fwnode-v1-1-d5e4369936bb@collabora.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_core.c
include/linux/power_supply.h