commit | 73285a284483f092f6128671206df7bca6339617 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Oct 01 19:57:23 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 22 10:36:54 2014 -0600 |
tree | 3eaf63158f233d318254130c74b6fd3c91d74e4d | |
parent | 5b3abbe798a726f9c55d3476a24b6bde28b00d10 [diff] |
dm: serial: Put common code into separate functions 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>