pcf857x: support working w/o platform data
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 11 Aug 2010 01:02:24 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:08 +0000 (08:59 -0700)
commit49946f68149a723659eca253376ac555d4b73280
tree687ce58ab1a4ca573290b1634752a55ef5521861
parent4a22b8a4ad5561436b16f5278d2f9e406ffb8705
pcf857x: support working w/o platform data

Provide sane defaults for pcf857x, so the driver can be used w/o providing
platform data (and thus can be simply bound via OF tree).

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <david-b@pacbell.net>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/pcf857x.c