[PATCH 3/5] tty/serial: at91: revise the return type of atmel_init_property

2015-02-25 Thread Leilei Zhao
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

[PATCH 3/5] tty/serial: at91: revise the return type of atmel_init_property

2015-02-25 Thread Leilei Zhao
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