commit | b8893327e9d22ded1cd70669884ed9d53fa9b013 | [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 | aacc6c5d106f33bec2b2371411922ff7d424beed [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>