* [PATCH] mfd: da9063: remove now unused platform_data
@ 2019-07-22 18:26 Wolfram Sang
2019-07-23 7:46 ` Steve Twiss
2019-08-12 7:39 ` Lee Jones
0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Sang @ 2019-07-22 18:26 UTC (permalink / raw)
To: linux-kernel; +Cc: Wolfram Sang, Support Opensource, Lee Jones
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>
---
include/Kbuild | 1 -
include/linux/mfd/da9063/pdata.h | 60 --------------------------------
2 files changed, 61 deletions(-)
delete mode 100644 include/linux/mfd/da9063/pdata.h
diff --git a/include/Kbuild b/include/Kbuild
index c38f0d46b267..68aa094fe86e 100644
--- a/include/Kbuild
+++ b/include/Kbuild
@@ -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
index 085edbf7601b..000000000000
--- a/include/linux/mfd/da9063/pdata.h
+++ /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__ */
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] mfd: da9063: remove now unused platform_data
2019-07-22 18:26 [PATCH] mfd: da9063: remove now unused platform_data Wolfram Sang
@ 2019-07-23 7:46 ` Steve Twiss
2019-08-12 7:39 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Steve Twiss @ 2019-07-23 7:46 UTC (permalink / raw)
To: Wolfram Sang, linux-kernel; +Cc: Support Opensource, Lee Jones
Hiya Wolfram,
On 22 July 2019 19:26, Wolfram Sang wrote:
> To: linux-kernel@vger.kernel.org
> Subject: [PATCH] mfd: da9063: remove now unused platform_data
>
> 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>
> ---
> include/Kbuild | 1 -
> include/linux/mfd/da9063/pdata.h | 60 --------------------------------
> 2 files changed, 61 deletions(-)
> delete mode 100644 include/linux/mfd/da9063/pdata.h
Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
Regards,
Steve
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd: da9063: remove now unused platform_data
2019-07-22 18:26 [PATCH] mfd: da9063: remove now unused platform_data Wolfram Sang
2019-07-23 7:46 ` Steve Twiss
@ 2019-08-12 7:39 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2019-08-12 7:39 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linux-kernel, Support Opensource
On Mon, 22 Jul 2019, Wolfram Sang wrote:
> All preparational patches have been applied, we can now remove the
> include file for platform_data. Yiha!
Hiya,
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> include/Kbuild | 1 -
> include/linux/mfd/da9063/pdata.h | 60 --------------------------------
> 2 files changed, 61 deletions(-)
> delete mode 100644 include/linux/mfd/da9063/pdata.h
Applied, thanks.
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-12 7:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-22 18:26 [PATCH] mfd: da9063: remove now unused platform_data Wolfram Sang
2019-07-23 7:46 ` Steve Twiss
2019-08-12 7:39 ` Lee Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.