From: Leilei Zhao Date: Fri, 27 Feb 2015 08:07:16 +0000 (+0800) Subject: tty/serial: at91: revise the return type of atmel_init_property X-Git-Tag: omap-for-v4.1/fixes-rc1~74^2~77^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a1e8888675b81d8f118b11650084c5e242be4b7;p=pandora-kernel.git 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 Acked-by: Nicolas Ferre Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed