diff options
author | Hui Wang <jason77.wang@gmail.com> | 2012-06-28 16:21:34 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-02 11:08:37 +0200 |
commit | afc016d8360ceb19a1f37bf6579d5850d47d582d (patch) | |
tree | 35f38cdf7e5567cb1c0bbc60d79e3b2ba9ab21b8 /drivers/firewire | |
parent | 8b7b736fbfa1307fd294ca1fca69316f1b07a806 (diff) |
can: flexcan: use of_property_read_u32 to get DT entry value
of_property_read_u32() can auto handle endian problems, use this
function can make code clean and simple.
No need to check return value here since the following got value
check will handle this.
Cc: linux-can@vger.kernel.org
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Hui Wang <jason77.wang@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions