diff options
| author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-02-25 00:21:34 +0100 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-03-08 01:42:34 +0100 |
| commit | 134254038739a6c6ecb7548a2f895d89a0dc9d2a (patch) | |
| tree | 9eacb14a34e2460b8ddbbda7af25e6e53c5cb8b1 /include/linux/power_supply.h | |
| parent | 2fc78cd0a3c3013543e5f540eff61e9696138f83 (diff) | |
| download | linux-next-134254038739a6c6ecb7548a2f895d89a0dc9d2a.tar.gz linux-next-134254038739a6c6ecb7548a2f895d89a0dc9d2a.zip | |
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>
Diffstat (limited to 'include/linux/power_supply.h')
| -rw-r--r-- | include/linux/power_supply.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 92da3deba342..888824592953 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -315,7 +315,6 @@ struct power_supply { char **supplied_from; size_t num_supplies; - struct device_node *of_node; /* Driver private data */ void *drv_data; |
