summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-05-07 19:19:27 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-06-04 14:11:37 +0300
commitcd70c85c5752f060b09b0cf5b7694717471ce998 (patch)
treefe2a80edc4c0a004e0d63316475537502f900b82 /include/linux
parentce0ae8324e0953292a9a745ec074497ba9c1c7d3 (diff)
downloadlinux-cd70c85c5752f060b09b0cf5b7694717471ce998.tar.xz
power: supply: max17040: drop unused platform data support
There are no platforms using the driver with platform data (no board files with the driver), so the dead code can be dropped. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/max17040_battery.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/max17040_battery.h b/include/linux/max17040_battery.h
deleted file mode 100644
index 593602fc9317..000000000000
--- a/include/linux/max17040_battery.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright (C) 2009 Samsung Electronics
- * Minkyu Kang <mk7.kang@samsung.com>
- */
-
-#ifndef __MAX17040_BATTERY_H_
-#define __MAX17040_BATTERY_H_
-
-struct max17040_platform_data {
- int (*battery_online)(void);
- int (*charger_online)(void);
- int (*charger_enable)(void);
-};
-
-#endif