All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20131031063000.608298078@linux.com>

diff --git a/a/1.txt b/N1/1.txt
index 48dfeab..b88858e 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,68 +1,3 @@
-From: Domenico Andreoli <domenico.andreoli@linux.com>
-
-Proof of concept: tps65910 as provider of reset hooks.
-
-Cc: Russell King <linux@arm.linux.org.uk>
-Cc: Arnd Bergmann <arnd@arndb.de>
-Cc: Olof Johansson <olof@lixom.net>
-Cc: linux-arm-kernel@lists.infradead.org
-Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com>
----
- drivers/mfd/Kconfig    |    1 +
- drivers/mfd/tps65910.c |   16 ++++++++--------
- 2 files changed, 9 insertions(+), 8 deletions(-)
-
-Index: b/drivers/mfd/Kconfig
-===================================================================
---- a/drivers/mfd/Kconfig
-+++ b/drivers/mfd/Kconfig
-@@ -769,6 +769,7 @@ config TPS65010
- 	tristate "TI TPS6501x Power Management chips"
- 	depends on I2C && GPIOLIB
- 	default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK
-+	select MACHINE_RESET
- 	help
- 	  If you say yes here you get support for the TPS6501x series of
- 	  Power Management chips.  These include voltage regulators,
-Index: b/drivers/mfd/tps65910.c
-===================================================================
---- a/drivers/mfd/tps65910.c
-+++ b/drivers/mfd/tps65910.c
-@@ -26,6 +26,7 @@
- #include <linux/regmap.h>
- #include <linux/mfd/tps65910.h>
- #include <linux/of_device.h>
-+#include <linux/machine_reset.h>
- 
- static struct resource rtc_resources[] = {
- 	{
-@@ -438,12 +439,9 @@ struct tps65910_board *tps65910_parse_dt
- }
- #endif
- 
--static struct i2c_client *tps65910_i2c_client;
--static void tps65910_power_off(void)
-+static void tps65910_power_off(void *dev)
- {
--	struct tps65910 *tps65910;
--
--	tps65910 = dev_get_drvdata(&tps65910_i2c_client->dev);
-+	struct tps65910 *tps65910 = dev_get_drvdata(dev);
- 
- 	if (tps65910_reg_set_bits(tps65910, TPS65910_DEVCTRL,
- 			DEVCTRL_PWR_OFF_MASK) < 0)
-@@ -501,9 +499,11 @@ static int tps65910_i2c_probe(struct i2c
- 	tps65910_ck32k_init(tps65910, pmic_plat_data);
- 	tps65910_sleepinit(tps65910, pmic_plat_data);
- 
--	if (pmic_plat_data->pm_off && !pm_power_off) {
--		tps65910_i2c_client = i2c;
--		pm_power_off = tps65910_power_off;
-+	if (pmic_plat_data->pm_off) {
-+		struct reset_hook hook;
-+		reset_hook_init(&hook);
-+		hook.power_off = tps65910_power_off;
-+		set_machine_reset(RESET_POWER_OFF, &hook, &i2c->dev);
- 	}
- 
- 	ret = mfd_add_devices(tps65910->dev, -1,
+An embedded and charset-unspecified text was scrubbed...
+Name: tps65910-machine-reset.patch
+URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131031/4c73965d/attachment.ksh>
diff --git a/a/content_digest b/N1/content_digest
index b9526c9..d7fce52 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,85 +1,12 @@
  "ref\020131031062708.520968323@linux.com\0"
- "From\0Domenico Andreoli <domenico.andreoli@linux.com>\0"
+ "From\0domenico.andreoli@linux.com (Domenico Andreoli)\0"
  "Subject\0[PATCH 09/11] ARM: tps65910: use the common machine reset handling\0"
  "Date\0Thu, 31 Oct 2013 07:27:17 +0100\0"
- "To\0linux-arch@vger.kernel.org\0"
- "Cc\0linux-arm-kernel@lists.infradead.org"
-  linux-mips@lvger.kernel.org
-  Russell King <linux@arm.linux.org.uk>
-  Arnd Bergmann <arnd@arndb.de>
-  Olof Johansson <olof@lixom.net>
-  Ralf Baechle <ralf@linux-mips.org>
- " Domenico Andreoli <domenico.andreoli@linux.com>\0"
+ "To\0linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
- "fn\0tps65910-machine-reset.patch\0"
  "b\0"
- "From: Domenico Andreoli <domenico.andreoli@linux.com>\n"
- "\n"
- "Proof of concept: tps65910 as provider of reset hooks.\n"
- "\n"
- "Cc: Russell King <linux@arm.linux.org.uk>\n"
- "Cc: Arnd Bergmann <arnd@arndb.de>\n"
- "Cc: Olof Johansson <olof@lixom.net>\n"
- "Cc: linux-arm-kernel@lists.infradead.org\n"
- "Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com>\n"
- "---\n"
- " drivers/mfd/Kconfig    |    1 +\n"
- " drivers/mfd/tps65910.c |   16 ++++++++--------\n"
- " 2 files changed, 9 insertions(+), 8 deletions(-)\n"
- "\n"
- "Index: b/drivers/mfd/Kconfig\n"
- "===================================================================\n"
- "--- a/drivers/mfd/Kconfig\n"
- "+++ b/drivers/mfd/Kconfig\n"
- "@@ -769,6 +769,7 @@ config TPS65010\n"
- " \ttristate \"TI TPS6501x Power Management chips\"\n"
- " \tdepends on I2C && GPIOLIB\n"
- " \tdefault y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK\n"
- "+\tselect MACHINE_RESET\n"
- " \thelp\n"
- " \t  If you say yes here you get support for the TPS6501x series of\n"
- " \t  Power Management chips.  These include voltage regulators,\n"
- "Index: b/drivers/mfd/tps65910.c\n"
- "===================================================================\n"
- "--- a/drivers/mfd/tps65910.c\n"
- "+++ b/drivers/mfd/tps65910.c\n"
- "@@ -26,6 +26,7 @@\n"
- " #include <linux/regmap.h>\n"
- " #include <linux/mfd/tps65910.h>\n"
- " #include <linux/of_device.h>\n"
- "+#include <linux/machine_reset.h>\n"
- " \n"
- " static struct resource rtc_resources[] = {\n"
- " \t{\n"
- "@@ -438,12 +439,9 @@ struct tps65910_board *tps65910_parse_dt\n"
- " }\n"
- " #endif\n"
- " \n"
- "-static struct i2c_client *tps65910_i2c_client;\n"
- "-static void tps65910_power_off(void)\n"
- "+static void tps65910_power_off(void *dev)\n"
- " {\n"
- "-\tstruct tps65910 *tps65910;\n"
- "-\n"
- "-\ttps65910 = dev_get_drvdata(&tps65910_i2c_client->dev);\n"
- "+\tstruct tps65910 *tps65910 = dev_get_drvdata(dev);\n"
- " \n"
- " \tif (tps65910_reg_set_bits(tps65910, TPS65910_DEVCTRL,\n"
- " \t\t\tDEVCTRL_PWR_OFF_MASK) < 0)\n"
- "@@ -501,9 +499,11 @@ static int tps65910_i2c_probe(struct i2c\n"
- " \ttps65910_ck32k_init(tps65910, pmic_plat_data);\n"
- " \ttps65910_sleepinit(tps65910, pmic_plat_data);\n"
- " \n"
- "-\tif (pmic_plat_data->pm_off && !pm_power_off) {\n"
- "-\t\ttps65910_i2c_client = i2c;\n"
- "-\t\tpm_power_off = tps65910_power_off;\n"
- "+\tif (pmic_plat_data->pm_off) {\n"
- "+\t\tstruct reset_hook hook;\n"
- "+\t\treset_hook_init(&hook);\n"
- "+\t\thook.power_off = tps65910_power_off;\n"
- "+\t\tset_machine_reset(RESET_POWER_OFF, &hook, &i2c->dev);\n"
- " \t}\n"
- " \n"
- " \tret = mfd_add_devices(tps65910->dev, -1,"
+ "An embedded and charset-unspecified text was scrubbed...\n"
+ "Name: tps65910-machine-reset.patch\n"
+ URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131031/4c73965d/attachment.ksh>
 
-53f1e802ab80c04fda35992bb817e06ffc1af9099f1df7f1c3cc95e77b13a9bd
+1be1b0b20112bd4dd90987ef216065e5bd31cf709b25e929628e541ce82e45ff

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.