diff for duplicates of <52C84665.5070203@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 233ae21..a78fd72 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -131,7 +131,7 @@ of another "allwinner" here. As if this wasn't implied by the "compatible" prope > + struct sun4i_ts_data *ts = dev_get_drvdata(dev); > + > + /* No temp_data until the first irq */ -> + if (ts->temp_data == -1) +> + if (ts->temp_data = -1) > + return -EAGAIN; > + > + return sprintf(buf, "%d\n", (ts->temp_data - 1447) * 100); @@ -267,3 +267,9 @@ Just remembered ... there is now also a DEVICE_ATTR_RO() macro. > > module_platform_driver(sun4i_ts_driver); > + + +_______________________________________________ +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 c46df83..59a4562 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01388506852-3548-3-git-send-email-hdegoede@redhat.com\0" "From\0Guenter Roeck <linux@roeck-us.net>\0" "Subject\0Re: [lm-sensors] [PATCH v3 2/5] input: sun4i-ts: Add support for temperature sensor\0" - "Date\0Sat, 04 Jan 2014 09:35:33 -0800\0" + "Date\0Sat, 04 Jan 2014 17:35:33 +0000\0" "To\0Hans de Goede <hdegoede@redhat.com>" " Dmitry Torokhov <dmitry.torokhov@gmail.com>\0" "Cc\0LM Sensors <lm-sensors@lm-sensors.org>" @@ -146,7 +146,7 @@ "> +\tstruct sun4i_ts_data *ts = dev_get_drvdata(dev);\n" "> +\n" "> +\t/* No temp_data until the first irq */\n" - "> +\tif (ts->temp_data == -1)\n" + "> +\tif (ts->temp_data = -1)\n" "> +\t\treturn -EAGAIN;\n" "> +\n" "> +\treturn sprintf(buf, \"%d\\n\", (ts->temp_data - 1447) * 100);\n" @@ -281,6 +281,12 @@ "> };\n" ">\n" "> module_platform_driver(sun4i_ts_driver);\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 -03a7e7baee361d19758cf88c66fb22dbae90cfb69ba6d29c9b097c625c194810 +3b74fa0d7b294d2656c648d785e8fa7610f2603c2012dda2bbeaee45fa5d94a1
diff --git a/a/1.txt b/N2/1.txt index 233ae21..c8372a9 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -35,7 +35,7 @@ of another "allwinner" here. As if this wasn't implied by the "compatible" prope > Example: > -> rtp: rtp@01c25000 { +> rtp: rtp at 01c25000 { > compatible = "allwinner,sun4i-ts"; > reg = <0x01c25000 0x100>; > interrupts = <29>; diff --git a/a/content_digest b/N2/content_digest index c46df83..168d1b8 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,16 +1,9 @@ "ref\01388506852-3548-1-git-send-email-hdegoede@redhat.com\0" "ref\01388506852-3548-3-git-send-email-hdegoede@redhat.com\0" - "From\0Guenter Roeck <linux@roeck-us.net>\0" - "Subject\0Re: [lm-sensors] [PATCH v3 2/5] input: sun4i-ts: Add support for temperature sensor\0" + "From\0linux@roeck-us.net (Guenter Roeck)\0" + "Subject\0[lm-sensors] [PATCH v3 2/5] input: sun4i-ts: Add support for temperature sensor\0" "Date\0Sat, 04 Jan 2014 09:35:33 -0800\0" - "To\0Hans de Goede <hdegoede@redhat.com>" - " Dmitry Torokhov <dmitry.torokhov@gmail.com>\0" - "Cc\0LM Sensors <lm-sensors@lm-sensors.org>" - linux-sunxi@googlegroups.com - Corentin LABBE <clabbe.montjoie@gmail.com> - linux-input@vger.kernel.org - Maxime Ripard <maxime.ripard@free-electrons.com> - " linux-arm-kernel@lists.infradead.org\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On 12/31/2013 08:20 AM, Hans de Goede wrote:\n" @@ -50,7 +43,7 @@ "\n" "> Example:\n" ">\n" - "> \trtp: rtp@01c25000 {\n" + "> \trtp: rtp at 01c25000 {\n" "> \t\tcompatible = \"allwinner,sun4i-ts\";\n" "> \t\treg = <0x01c25000 0x100>;\n" "> \t\tinterrupts = <29>;\n" @@ -283,4 +276,4 @@ "> module_platform_driver(sun4i_ts_driver);\n" > -03a7e7baee361d19758cf88c66fb22dbae90cfb69ba6d29c9b097c625c194810 +ac02793193e0e24295717c59a2597655db6871f290937ab02b96158ddcf1afc7
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.