commit | d144aff1363a332e43be3cb431f6f8600a449cdc | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Sep 09 20:34:12 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 04 17:47:49 2015 +0100 |
tree | b378371f2babbd95da26e4002396bf011a4fb504 | |
parent | acccab429be7fd83987214c50cfde057ea71d118 [diff] |
serial: altera_uart: Use of_property_read_u32 instead of open-coding it Use of_property_read_u32 instead of of_get_property with return value checks and endianness conversion. Also remove the !CONFIG_OF implementation of altera_uart_get_of_uartclk as of_property_read_u32 will return a non-zero value for !CONFIG_OF. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>