summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLaurent Pinchart2012-11-28 17:51:00 +0100
committerLaurent Pinchart2013-03-15 13:33:36 +0100
commitd7a7ca5781fa2ac40319acc7125c487db5b26d91 (patch)
tree23ad6199057643515f3fb7d9abb9acd646670dd4 /drivers/acpi
parentsh-pfc: Use GPIO_FN instead of PINMUX_GPIO where possible (diff)
downloadkernel-qcow2-linux-d7a7ca5781fa2ac40319acc7125c487db5b26d91.tar.gz
kernel-qcow2-linux-d7a7ca5781fa2ac40319acc7125c487db5b26d91.tar.xz
kernel-qcow2-linux-d7a7ca5781fa2ac40319acc7125c487db5b26d91.zip
sh-pfc: Replace first_gpio and last_gpio with nr_gpios
The SoC information first_gpio field is always equal to 0, and the last_gpio field is the index of the last entry in the pinmux_gpios array. Replace the first_gpio and last_gpio fields by a nr_gpios field, and initialize it to ARRAY_SIZE(pinmux_gpios). Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions