misc/at24: parse device tree data
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 17 Nov 2010 12:00:48 +0000 (13:00 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 24 Dec 2010 09:13:36 +0000 (02:13 -0700)
commit9ed030d728f3bd03b6e869357da02725afda19a7
tree2dfe452c10e5562a817197d686e7bed61d946fe4
parent194588604765ac803f98fb9d19a36f6b835f4620
misc/at24: parse device tree data

Information about the pagesize and read-only-status may also come from
the devicetree. Parse this data, too, and act accordingly. While we are
here, change the initialization printout a bit. write_max is useful to
know to detect performance bottlenecks, the rest is superfluous.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/powerpc/dts-bindings/eeprom.txt [new file with mode: 0644]
drivers/misc/eeprom/at24.c