diff for duplicates of <5201F138.3080906@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 4930296..89df204 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -3,7 +3,7 @@ On 08/06/2013 11:52 PM, Wei Ni wrote: > Adding the power control support to power on/off the vdd rail. > And make sure that power is enabled before accessing the device. > -> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> +> Signed-off-by: Wei Ni <wni@nvidia.com> > --- > drivers/hwmon/lm90.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 52 insertions(+) @@ -52,7 +52,7 @@ On 08/06/2013 11:52 PM, Wei Ni wrote: > + if (!data->lm90_reg) { > + data->lm90_reg = regulator_get(&client->dev, "vdd"); > + if (IS_ERR_OR_NULL(data->lm90_reg)) { -> + if (PTR_ERR(data->lm90_reg) == -ENODEV) +> + if (PTR_ERR(data->lm90_reg) = -ENODEV) > + dev_info(&client->dev, > + "No regulator found for vdd. Assuming vdd is always powered."); > + else @@ -113,7 +113,7 @@ Guenter > + > /* Set the device type */ > data->kind = id->driver_data; -> if (data->kind == adm1032) { +> if (data->kind = adm1032) { > @@ -1483,6 +1534,7 @@ static int lm90_remove(struct i2c_client *client) > hwmon_device_unregister(data->hwmon_dev); > lm90_remove_files(client, data); @@ -123,3 +123,9 @@ Guenter > return 0; > } > + + +_______________________________________________ +lm-sensors mailing list +lm-sensors@lm-sensors.org +http://lists.lm-sensors.org/mailman/listinfo/lm-sensors diff --git a/a/content_digest b/N1/content_digest index b54dff5..9b06915 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,9 +1,9 @@ "ref\01375858358-15070-1-git-send-email-wni@nvidia.com\0" "ref\01375858358-15070-2-git-send-email-wni@nvidia.com\0" "ref\01375858358-15070-2-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org\0" - "From\0Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>\0" - "Subject\0Re: [PATCH 1/2] hwmon: (lm90) Add power control\0" - "Date\0Wed, 07 Aug 2013 00:03:20 -0700\0" + "From\0Guenter Roeck <linux@roeck-us.net>\0" + "Subject\0Re: [lm-sensors] [PATCH 1/2] hwmon: (lm90) Add power control\0" + "Date\0Wed, 07 Aug 2013 07:03:20 +0000\0" "To\0Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\0" "Cc\0khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org" swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org @@ -19,7 +19,7 @@ "> Adding the power control support to power on/off the vdd rail.\n" "> And make sure that power is enabled before accessing the device.\n" ">\n" - "> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\n" + "> Signed-off-by: Wei Ni <wni@nvidia.com>\n" "> ---\n" "> drivers/hwmon/lm90.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++\n" "> 1 file changed, 52 insertions(+)\n" @@ -68,7 +68,7 @@ "> +\tif (!data->lm90_reg) {\n" "> +\t\tdata->lm90_reg = regulator_get(&client->dev, \"vdd\");\n" "> +\t\tif (IS_ERR_OR_NULL(data->lm90_reg)) {\n" - "> +\t\t\tif (PTR_ERR(data->lm90_reg) == -ENODEV)\n" + "> +\t\t\tif (PTR_ERR(data->lm90_reg) = -ENODEV)\n" "> +\t\t\t\tdev_info(&client->dev,\n" "> +\t\t\t\t\t \"No regulator found for vdd. Assuming vdd is always powered.\");\n" "> +\t\t\telse\n" @@ -129,7 +129,7 @@ "> +\n" "> \t/* Set the device type */\n" "> \tdata->kind = id->driver_data;\n" - "> \tif (data->kind == adm1032) {\n" + "> \tif (data->kind = adm1032) {\n" "> @@ -1483,6 +1534,7 @@ static int lm90_remove(struct i2c_client *client)\n" "> \thwmon_device_unregister(data->hwmon_dev);\n" "> \tlm90_remove_files(client, data);\n" @@ -138,6 +138,12 @@ ">\n" "> \treturn 0;\n" "> }\n" - > + ">\n" + "\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -24ba058ff1d68360a1d9797d65c6412b4e4c5248e7e3ad1a7f1e18dfb0a6c8b0 +6807f2f2b93923b8b2fdf2db52248792dea66d8f1aef1100c5db441ab4865597
diff --git a/a/1.txt b/N2/1.txt index 4930296..48a49b5 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -3,7 +3,7 @@ On 08/06/2013 11:52 PM, Wei Ni wrote: > Adding the power control support to power on/off the vdd rail. > And make sure that power is enabled before accessing the device. > -> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> +> Signed-off-by: Wei Ni <wni@nvidia.com> > --- > drivers/hwmon/lm90.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 52 insertions(+) diff --git a/a/content_digest b/N2/content_digest index b54dff5..298e466 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,17 +1,9 @@ "ref\01375858358-15070-1-git-send-email-wni@nvidia.com\0" "ref\01375858358-15070-2-git-send-email-wni@nvidia.com\0" - "ref\01375858358-15070-2-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org\0" - "From\0Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>\0" - "Subject\0Re: [PATCH 1/2] hwmon: (lm90) Add power control\0" + "From\0linux@roeck-us.net (Guenter Roeck)\0" + "Subject\0[PATCH 1/2] hwmon: (lm90) Add power control\0" "Date\0Wed, 07 Aug 2013 00:03:20 -0700\0" - "To\0Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\0" - "Cc\0khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org" - swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org - MLongnecker-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org - linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org - lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On 08/06/2013 11:52 PM, Wei Ni wrote:\n" @@ -19,7 +11,7 @@ "> Adding the power control support to power on/off the vdd rail.\n" "> And make sure that power is enabled before accessing the device.\n" ">\n" - "> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\n" + "> Signed-off-by: Wei Ni <wni@nvidia.com>\n" "> ---\n" "> drivers/hwmon/lm90.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++\n" "> 1 file changed, 52 insertions(+)\n" @@ -140,4 +132,4 @@ "> }\n" > -24ba058ff1d68360a1d9797d65c6412b4e4c5248e7e3ad1a7f1e18dfb0a6c8b0 +661163d69295a7721b062e69fe0409e5fc3c6b3e183eaccbbaea3c9bcbb7fc7c
diff --git a/a/1.txt b/N3/1.txt index 4930296..48a49b5 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -3,7 +3,7 @@ On 08/06/2013 11:52 PM, Wei Ni wrote: > Adding the power control support to power on/off the vdd rail. > And make sure that power is enabled before accessing the device. > -> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> +> Signed-off-by: Wei Ni <wni@nvidia.com> > --- > drivers/hwmon/lm90.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 52 insertions(+) diff --git a/a/content_digest b/N3/content_digest index b54dff5..4d71434 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -1,17 +1,16 @@ "ref\01375858358-15070-1-git-send-email-wni@nvidia.com\0" "ref\01375858358-15070-2-git-send-email-wni@nvidia.com\0" - "ref\01375858358-15070-2-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org\0" - "From\0Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>\0" + "From\0Guenter Roeck <linux@roeck-us.net>\0" "Subject\0Re: [PATCH 1/2] hwmon: (lm90) Add power control\0" "Date\0Wed, 07 Aug 2013 00:03:20 -0700\0" - "To\0Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\0" - "Cc\0khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org" - swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org - MLongnecker-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org - linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org - lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org - " linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0" + "To\0Wei Ni <wni@nvidia.com>\0" + "Cc\0khali@linux-fr.org" + swarren@wwwdotorg.org + MLongnecker@nvidia.com + linux-arm-kernel@lists.infradead.org + lm-sensors@lm-sensors.org + linux-kernel@vger.kernel.org + " linux-tegra@vger.kernel.org\0" "\00:1\0" "b\0" "On 08/06/2013 11:52 PM, Wei Ni wrote:\n" @@ -19,7 +18,7 @@ "> Adding the power control support to power on/off the vdd rail.\n" "> And make sure that power is enabled before accessing the device.\n" ">\n" - "> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\n" + "> Signed-off-by: Wei Ni <wni@nvidia.com>\n" "> ---\n" "> drivers/hwmon/lm90.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++\n" "> 1 file changed, 52 insertions(+)\n" @@ -140,4 +139,4 @@ "> }\n" > -24ba058ff1d68360a1d9797d65c6412b4e4c5248e7e3ad1a7f1e18dfb0a6c8b0 +1ef057a0c8acba620e4f9555f5fca94309957a9ccbca87f98bef052717b89fb6
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.