From: Trent Piepho Date: Fri, 27 Sep 2013 12:37:25 +0000 (-0700) Subject: spi: Use of_property_read_u32 X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~15^2~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89da4293a7bb29ac42b7dd2c2573c8a5ebb0b6c7;p=pandora-kernel.git spi: Use of_property_read_u32 Instead of getting the raw property, checking the length, and doing endian conversion each time, use the OF function of_property_read_u32() that does all that. Error messages are slightly improved with error codes from of_property_read_u32() for different ways the property may be invalid (missing, too short, etc.) Signed-off-by: Trent Piepho Signed-off-by: Mark Brown --- Reading git-diff-tree failed