]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: serial: Put common code into separate functions
authorSimon Glass <sjg@chromium.org>
Thu, 2 Oct 2014 01:57:23 +0000 (19:57 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:54 +0000 (10:36 -0600)
Avoid duplicating the code which deals with getc() and putc(). It is fairly
simple, but may expand later.

Signed-off-by: Simon Glass <sjg@chromium.org>

No differences found