diff for duplicates of <1777251.JReTVdX0Pd@avalon> diff --git a/a/1.txt b/N1/1.txt index ca1f3aa..32f975b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -246,7 +246,7 @@ with IS_ERR() and return PTR_ERR() insted of the fixed -ENXIO error. > + } > + > + /* 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; @@ -263,7 +263,7 @@ with IS_ERR() and return PTR_ERR() insted of the fixed -ENXIO error. > + if (IS_ENABLED(CONFIG_OF) && np) { > + ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, > + &args); -> + 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; diff --git a/a/content_digest b/N1/content_digest index 463f84c..9fdd90e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020131106234737.8971.37405.sendpatchset@w520\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH] gpio: Renesas RZ GPIO driver\0" - "Date\0Wed, 13 Nov 2013 12:03:35 +0000\0" + "Date\0Wed, 13 Nov 2013 13:03:35 +0100\0" "To\0Magnus Damm <magnus.damm@gmail.com>\0" "Cc\0linux-kernel@vger.kernel.org" linux-sh@vger.kernel.org @@ -258,7 +258,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" @@ -275,7 +275,7 @@ "> +\tif (IS_ENABLED(CONFIG_OF) && np) {\n" "> +\t\tret = of_parse_phandle_with_fixed_args(np, \"gpio-ranges\", 3, 0,\n" "> +\t\t\t\t\t\t &args);\n" - "> +\t\tnumber_of_pins = ret = 0 ? args.args[2] : RZ_GPIOS_PER_PORT;\n" + "> +\t\tnumber_of_pins = ret == 0 ? args.args[2] : RZ_GPIOS_PER_PORT;\n" "> +\t}\n" "> +\n" "> +\tgpio_chip = &p->gpio_chip;\n" @@ -368,4 +368,4 @@ "\n" Laurent Pinchart -1e7ce86c655f110da0d4ae3d9cc582d6a2f7062d8703aac2048e6174b7c95c63 +1c31b18c53c21101ded08b95e87edace65b6035a79f079b4cc8e3bb65467d6f9
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.