diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-09-13 15:39:00 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-09-17 00:43:13 +0200 |
commit | 12e94aee074ce1c5ffdb8f2246a8c4a095b6aa8a (patch) | |
tree | 844cc4049302a8e39f23a6b6fecaf49411c82558 /include/linux/power_supply.h | |
parent | e39257cde7e8ceec6165f54b6e20c72e2862a0b1 (diff) | |
download | lwn-12e94aee074ce1c5ffdb8f2246a8c4a095b6aa8a.tar.gz lwn-12e94aee074ce1c5ffdb8f2246a8c4a095b6aa8a.zip |
power: supply: core: Don't export power_supply_notifier
power_supply_notifier can be internal, since all users are going
through power_supply_reg_notifier()/power_supply_unreg_notifier().
Link: https://lore.kernel.org/r/20230913133900.591637-1-sebastian.reichel@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 85b86768c0b9..c0992a77feea 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -767,7 +767,6 @@ struct power_supply_battery_info { int bti_resistance_tolerance; }; -extern struct blocking_notifier_head power_supply_notifier; extern int power_supply_reg_notifier(struct notifier_block *nb); extern void power_supply_unreg_notifier(struct notifier_block *nb); #if IS_ENABLED(CONFIG_POWER_SUPPLY) |