]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mfd: da9063: Remove now unused platform_data
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 22 Jul 2019 18:26:28 +0000 (20:26 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Aug 2019 07:40:59 +0000 (08:40 +0100)
All preparational patches have been applied, we can now remove the
include file for platform_data. Yiha!

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/Kbuild
include/linux/mfd/da9063/pdata.h [deleted file]

index c38f0d46b267cb2d747eb9d26bf2599d03947be5..68aa094fe86ec1d97885a07c00759fe8b492d489 100644 (file)
@@ -313,7 +313,6 @@ header-test-                        += linux/mfd/as3722.h
 header-test-                   += linux/mfd/cros_ec_commands.h
 header-test-                   += linux/mfd/da903x.h
 header-test-                   += linux/mfd/da9055/pdata.h
-header-test-                   += linux/mfd/da9063/pdata.h
 header-test-                   += linux/mfd/db8500-prcmu.h
 header-test-                   += linux/mfd/dbx500-prcmu.h
 header-test-                   += linux/mfd/dln2.h
diff --git a/include/linux/mfd/da9063/pdata.h b/include/linux/mfd/da9063/pdata.h
deleted file mode 100644 (file)
index 085edbf..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- * Platform configuration options for DA9063
- *
- * Copyright 2012 Dialog Semiconductor Ltd.
- *
- * Author: Michal Hajduk, Dialog Semiconductor
- * Author: Krystian Garbaciak, Dialog Semiconductor
- */
-
-#ifndef __MFD_DA9063_PDATA_H__
-#define __MFD_DA9063_PDATA_H__
-
-/*
- * RGB LED configuration
- */
-/* LED IDs for flags in struct led_info. */
-enum {
-       DA9063_GPIO11_LED,
-       DA9063_GPIO14_LED,
-       DA9063_GPIO15_LED,
-
-       DA9063_LED_NUM
-};
-#define DA9063_LED_ID_MASK             0x3
-
-/* LED polarity for flags in struct led_info. */
-#define DA9063_LED_HIGH_LEVEL_ACTIVE   0x0
-#define DA9063_LED_LOW_LEVEL_ACTIVE    0x4
-
-
-/*
- * General PMIC configuration
- */
-/* HWMON ADC channels configuration */
-#define DA9063_FLG_FORCE_IN0_MANUAL_MODE       0x0010
-#define DA9063_FLG_FORCE_IN0_AUTO_MODE         0x0020
-#define DA9063_FLG_FORCE_IN1_MANUAL_MODE       0x0040
-#define DA9063_FLG_FORCE_IN1_AUTO_MODE         0x0080
-#define DA9063_FLG_FORCE_IN2_MANUAL_MODE       0x0100
-#define DA9063_FLG_FORCE_IN2_AUTO_MODE         0x0200
-#define DA9063_FLG_FORCE_IN3_MANUAL_MODE       0x0400
-#define DA9063_FLG_FORCE_IN3_AUTO_MODE         0x0800
-
-/* Disable register caching. */
-#define DA9063_FLG_NO_CACHE                    0x0008
-
-struct da9063;
-
-/* DA9063 platform data */
-struct da9063_pdata {
-       int                             (*init)(struct da9063 *da9063);
-       int                             irq_base;
-       bool                            key_power;
-       unsigned                        flags;
-       struct da9063_regulators_pdata  *regulators_pdata;
-       struct led_platform_data        *leds_pdata;
-};
-
-#endif /* __MFD_DA9063_PDATA_H__ */