From: Christoph Fritz Date: Thu, 11 Apr 2013 19:32:57 +0000 (+0200) Subject: can: sja1000: fix handling on dt properties on little endian systems X-Git-Tag: v3.9-rc8~20^2~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0443de5fbf224abf41f688d8487b0c307dc5a4b4;p=pandora-kernel.git can: sja1000: fix handling on dt properties on little endian systems To get correct endianes on little endian cpus (like arm) while reading device tree properties, this patch replaces of_get_property() with of_property_read_u32(). While there use of_property_read_bool() for the handling of the boolean "nxp,no-comparator-bypass" property. Cc: linux-stable Signed-off-by: Christoph Fritz Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed