diff for duplicates of <20101216170018.GA8140@ericsson.com> diff --git a/a/1.txt b/N1/1.txt index 5d6255d..b7d53b0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -106,9 +106,9 @@ Please make those variables static. > > for (us = APPLESMC_MIN_WAIT; us < APPLESMC_MAX_WAIT; us <<= 1) { > udelay(us); -> - if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = val) { +> - if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val) { > + if ((applesmc_read_reg(APPLESMC_CMD_PORT) -> + & APPLESMC_STATUS_MASK) = val) { +> + & APPLESMC_STATUS_MASK) == val) { > return 0; > } > } @@ -119,9 +119,9 @@ Please make those variables static. > - outb(cmd, APPLESMC_CMD_PORT); > + applesmc_write_reg(cmd, APPLESMC_CMD_PORT); > udelay(us); -> - if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = 0x0c) +> - if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == 0x0c) > + if ((applesmc_read_reg(APPLESMC_CMD_PORT) -> + & APPLESMC_STATUS_MASK) = 0x0c) +> + & APPLESMC_STATUS_MASK) == 0x0c) > return 0; > } > return -EIO; @@ -394,8 +394,3 @@ Why bother with this, as it is assigned to pnp_device ? > lm-sensors mailing list > lm-sensors@lm-sensors.org > http://lists.lm-sensors.org/mailman/listinfo/lm-sensors - -_______________________________________________ -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 3cdee00..a815fa1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01292513589-14651-1-git-send-email-mjg@redhat.com\0" "From\0Guenter Roeck <guenter.roeck@ericsson.com>\0" - "Subject\0Re: [lm-sensors] [PATCH 1/2] applesmc: Use PnP rather than\0" - "Date\0Thu, 16 Dec 2010 17:00:18 +0000\0" + "Subject\0Re: [lm-sensors] [PATCH 1/2] applesmc: Use PnP rather than hardcoding resources and devices\0" + "Date\0Thu, 16 Dec 2010 09:00:18 -0800\0" "To\0Matthew Garrett <mjg@redhat.com>\0" "Cc\0rydberg@euromail.se <rydberg@euromail.se>" linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org> @@ -116,9 +116,9 @@ "> \n" "> for (us = APPLESMC_MIN_WAIT; us < APPLESMC_MAX_WAIT; us <<= 1) {\n" "> udelay(us);\n" - "> - if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = val) {\n" + "> - if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val) {\n" "> + if ((applesmc_read_reg(APPLESMC_CMD_PORT)\n" - "> + & APPLESMC_STATUS_MASK) = val) {\n" + "> + & APPLESMC_STATUS_MASK) == val) {\n" "> return 0;\n" "> }\n" "> }\n" @@ -129,9 +129,9 @@ "> - outb(cmd, APPLESMC_CMD_PORT);\n" "> + applesmc_write_reg(cmd, APPLESMC_CMD_PORT);\n" "> udelay(us);\n" - "> - if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) = 0x0c)\n" + "> - if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == 0x0c)\n" "> + if ((applesmc_read_reg(APPLESMC_CMD_PORT)\n" - "> + & APPLESMC_STATUS_MASK) = 0x0c)\n" + "> + & APPLESMC_STATUS_MASK) == 0x0c)\n" "> return 0;\n" "> }\n" "> return -EIO;\n" @@ -403,11 +403,6 @@ "> _______________________________________________\n" "> lm-sensors mailing list\n" "> lm-sensors@lm-sensors.org\n" - "> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + > http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -9cc9e5ec98dd045b5148333a3d3a764f8680799779fb9418adac02cb0439c36f +4d9a493cd75fc5b5334aebe444c17b5d89624012abac2738ca1cc2260d790f1f
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.