Home
last modified time | relevance | path

Searched hist:"4 a1e8888675b81d8f118b11650084c5e242be4b7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Datmel_serial.cdiff 4a1e8888675b81d8f118b11650084c5e242be4b7 Fri Feb 27 02:07:16 CST 2015 Leilei Zhao <leilei.zhao@atmel.com> tty/serial: at91: revise the return type of atmel_init_property

The function of atmel_init_property is to set the work manner of
atmel serial ports according to the property in device trees.
If DMA or PDC is not set or something goes wrong in getting property,
the work manner will switch to general PIO mode, thus there will
not be any failure case in this function. It's actually a procedure.
So changing the return type from int to void.

Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>