pcf857x: support working w/o platform data
authorDmitry Eremin-Solenikov <[email protected]>
Wed, 11 Aug 2010 01:02:24 +0000 (18:02 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: David Brownell <[email protected]>
Cc: Grant Likely <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/gpio/pcf857x.c