Commit fe259a21 authored by Yuan Can's avatar Yuan Can Committed by Sebastian Reichel
Browse files

power: supply: ab8500: Remove unused struct ab8500_chargalg_sysfs_entry



After commit 75ee3f6f("power: supply: ab8500_chargalg: Drop enable/disable
sysfs"), no one use struct ab8500_chargalg_sysfs_entry, so remove it.

Signed-off-by: default avatarYuan Can <yuancan@huawei.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent d8be4fe9
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -252,12 +252,6 @@ static enum power_supply_property ab8500_chargalg_props[] = {
	POWER_SUPPLY_PROP_HEALTH,
};

struct ab8500_chargalg_sysfs_entry {
	struct attribute attr;
	ssize_t (*show)(struct ab8500_chargalg *di, char *buf);
	ssize_t (*store)(struct ab8500_chargalg *di, const char *buf, size_t length);
};

/**
 * ab8500_chargalg_safety_timer_expired() - Expiration of the safety timer
 * @timer:     pointer to the hrtimer structure