powerpc/mpc8xxx_gpio: simplify searching for 'fsl, qoriq-gpio' compatiable
authorAnatolij Gustschin <agust@denx.de>
Sat, 8 Jan 2011 15:51:16 +0000 (16:51 +0100)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 15 Mar 2011 15:31:47 +0000 (10:31 -0500)
commitd1dcfbbb9f57a1f380e824caddc2c77b48a3a96b
tree24933212ec2b90988f9cec67c89f6bf901dedd1f
parent3cc5a0f09e7e454a2f2000dac749d07fea9fc004
powerpc/mpc8xxx_gpio: simplify searching for 'fsl, qoriq-gpio' compatiable

Commit da3ed89e7ce272ebcc918487e2a28736ca0dd6bb added
'fsl,qoriq-gpio' compatiable searching in the old way
using for_each_compatible_node(). But the driver have
previously been changed to use a struct of_device_id
compatible list passed to for_each_matching_node().

Add 'fsl,qoriq-gpio' compatiable to the existing
compatible list instead of adding another
for_each_compatible_node() loop.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/mpc8xxx_gpio.c