diff options
| author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-06-08 23:40:06 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-06-22 03:04:14 +0300 |
| commit | f368f87b22dab8e97c5f447b00a0cae79fefbdcb (patch) | |
| tree | cd8958db1ea854e5528450120e9d95038dbab2ff /include/linux | |
| parent | 570ba047a6548df24f5c9aaaf9a81173577ca789 (diff) | |
| download | linux-f368f87b22dab8e97c5f447b00a0cae79fefbdcb.tar.xz | |
power: supply: core: convert to fwnnode
Replace any DT specific code with fwnode in the power-supply
core.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250430-psy-core-convert-to-fwnode-v2-4-f9643b958677@collabora.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/power_supply.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 72012141656e..d90ac7b73755 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -808,7 +808,7 @@ static inline struct power_supply *power_supply_get_by_name(const char *name) { return NULL; } #endif #ifdef CONFIG_OF -extern struct power_supply *power_supply_get_by_phandle(struct device_node *np, +extern struct power_supply *power_supply_get_by_phandle(struct fwnode_handle *fwnode, const char *property); extern struct power_supply *devm_power_supply_get_by_phandle( struct device *dev, const char *property); |
