Dirk Eibach 1648237dc2 gpio/pca953x: Fix wrong pointer type
pca953x_get_alt_pdata() uses uint16_t* as result type for
of_get_property(), but numeric of values are __be32.

Checking for negative values is bogus because of-property
values are unsigned by definition.
Instead check for proper property size.

v3: - assume big-endian properties
    - check property size
v2: - removed bogus check for negative property values

Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-02-24 08:55:02 -07:00
..
2011-01-14 12:38:11 +01:00
2011-01-13 08:03:14 -08:00
2011-01-13 08:03:14 -08:00
2011-01-13 08:03:13 -08:00
2011-02-24 08:55:02 -07:00
2010-10-27 18:03:07 -07:00
2011-01-13 08:03:13 -08:00
2010-03-07 22:17:37 +01:00
2010-10-29 00:29:51 +02:00