diff for duplicates of <20131113233411.565.32282.sendpatchset@w520> diff --git a/a/1.txt b/N1/1.txt index a206a04..89b537e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -192,7 +192,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se> + } + + /* If only 1 resource is available it must be PPR */ -+ if (nr = 1) { ++ if (nr == 1) { + io[REG_PPR] = io[0]; + p->io[REG_PPR] = p->io[0]; + io[0] = NULL; @@ -201,7 +201,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se> + + ret = np ? of_parse_phandle_with_fixed_args(np, "gpio-ranges", + 3, 0, &args) : -1; -+ number_of_pins = ret = 0 ? args.args[2] : RZ_GPIOS_PER_PORT; ++ number_of_pins = ret == 0 ? args.args[2] : RZ_GPIOS_PER_PORT; + + gpio_chip = &p->gpio_chip; + gpio_chip->direction_input = rz_gpio_direction_input; diff --git a/a/content_digest b/N1/content_digest index cc8760d..a0c6694 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Magnus Damm <magnus.damm@gmail.com>\0" "Subject\0[PATCH v2] gpio: Renesas RZ GPIO driver V2\0" - "Date\0Wed, 13 Nov 2013 23:34:11 +0000\0" + "Date\0Thu, 14 Nov 2013 08:34:11 +0900\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0linux-sh@vger.kernel.org" linus.walleij@linaro.org @@ -204,7 +204,7 @@ "+\t}\n" "+\n" "+\t/* If only 1 resource is available it must be PPR */\n" - "+\tif (nr = 1) {\n" + "+\tif (nr == 1) {\n" "+\t\tio[REG_PPR] = io[0];\n" "+\t\tp->io[REG_PPR] = p->io[0];\n" "+\t\tio[0] = NULL;\n" @@ -213,7 +213,7 @@ "+\n" "+\tret = np ? of_parse_phandle_with_fixed_args(np, \"gpio-ranges\",\n" "+\t\t\t\t\t\t 3, 0, &args) : -1;\n" - "+\tnumber_of_pins = ret = 0 ? args.args[2] : RZ_GPIOS_PER_PORT;\n" + "+\tnumber_of_pins = ret == 0 ? args.args[2] : RZ_GPIOS_PER_PORT;\n" "+\n" "+\tgpio_chip = &p->gpio_chip;\n" "+\tgpio_chip->direction_input = rz_gpio_direction_input;\n" @@ -277,4 +277,4 @@ "+MODULE_DESCRIPTION(\"Renesas RZ Port GPIO Driver\");\n" "+MODULE_LICENSE(\"GPL v2\");" -b24f9fae62d137e4f67ac93b5fab67baf5489caf2a1ed67f7accda62212e7716 +4a45db096b442b18d53defb478d1f2f7684455df7a0b8eb0f597af097bf657aa
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.