From: linux@treblig.org
To: sre@kernel.org, linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
"Dr. David Alan Gilbert" <linux@treblig.org>
Subject: [PATCH 3/3] power: supply: Remove unused set_charged method
Date: Fri, 7 Mar 2025 23:02:25 +0000 [thread overview]
Message-ID: <20250307230225.128775-4-linux@treblig.org> (raw)
In-Reply-To: <20250307230225.128775-1-linux@treblig.org>
From: "Dr. David Alan Gilbert" <linux@treblig.org>
The previous patches in this series removed the only caller
and only setter of this method.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
include/linux/power_supply.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index 5afc5946eb03..92da3deba342 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -274,7 +274,6 @@ struct power_supply_desc {
int (*property_is_writeable)(struct power_supply *psy,
enum power_supply_property psp);
void (*external_power_changed)(struct power_supply *psy);
- void (*set_charged)(struct power_supply *psy);
/*
* Set if thermal zone should not be created for this power supply.
--
2.48.1
next prev parent reply other threads:[~2025-03-07 23:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-07 23:02 [PATCH 0/3] power: supply: set_charged deadcode linux
2025-03-07 23:02 ` [PATCH 1/3] power: supply: core: Remove unused power_supply_set_battery_charged linux
2025-03-07 23:02 ` [PATCH 2/3] power: supply: ds2760: Remove unused ds2760_battery_set_charged linux
2025-03-07 23:02 ` linux [this message]
2025-03-08 0:14 ` [PATCH 0/3] power: supply: set_charged deadcode Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250307230225.128775-4-linux@treblig.org \
--to=linux@treblig.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox