]> git.sur5r.net Git - u-boot/commit
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)
commitb8893327e9d22ded1cd70669884ed9d53fa9b013
tree3eaf63158f233d318254130c74b6fd3c91d74e4d
parentaacc6c5d106f33bec2b2371411922ff7d424beed
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>
drivers/serial/serial-uclass.c