gpio/pca953x: Deprecate meaningless device-tree bindings
authorDavid Jander <david@protonic.nl>
Tue, 14 Jun 2011 09:00:56 +0000 (11:00 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Jun 2011 19:41:50 +0000 (13:41 -0600)
commita57339b4b5daf23b4cec450b37906d5f8b5fa722
tree4c349041c3cb7939a2add5bd2b399f70ab3b604c
parentc6dcf592437e5919cb03af5dcfe369702e6a4a7c
gpio/pca953x: Deprecate meaningless device-tree bindings

The property 'polarity' is handled by the GPIO core, and the 'gpio-base'
should be assigned automatically. It is meaningless in the device-tree,
since GPIO's are identified by the "chip-name"/offset pair.
This way, the whole pca953x_get_alt_pdata() can hopefully soon go away.
We still need to check whether we really want GPIO-interrupt functionality
by simply looking if the I2C node has an interrupts property defined, since
this property is not used for anything else.

Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pca953x.c