]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: dt: gpio-omap: Move interrupt-controller from #interrupt-cells description
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Fri, 15 Mar 2013 13:31:57 +0000 (14:31 +0100)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:21:23 +0000 (00:21 +0200)
commit2a0351a630a91adfb9d01d85de50ca3b011d2309
treef336b5c31185c75f7df73baba98ee42860ffb2c0
parentf3e76087c1fd32b2c02525bde79ff614d69fe211
Documentation: dt: gpio-omap: Move interrupt-controller from #interrupt-cells description

The binding documentation for the OMAP GPIO controller has the
"#interrupt-cells" property listed before "#interrupt-controller"
property but its description after.
This is confusing so we move "#interrupt-cells" after the
"interrupt-controller" property so is followed by its description.

While being there, change the properties order to be consistent with
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
and Documentation/devicetree/bindings/gpio/gpio.txt.

According with these docs, the order of the properties for a gpio-omap
device node should be:

    gpio-controller;
    #gpio-cells = <2>;
    interrupt-controller;
    #interrupt-cells = <2>;

Reported-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-omap.txt