dm: ns16550: Support non-byte register spacing with driver model
authorSimon Glass <sjg@chromium.org>
Sat, 28 Feb 2015 05:06:26 +0000 (22:06 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 23 Apr 2015 02:03:48 +0000 (20:03 -0600)
commit363e6da10313edb9ab7bffd8ee9000f72af11290
tree5459abf42069faa05ff32fdf64eb8390fa2ae86d
parentdd0b0122bacc286a6c9321178fcdd947a8bbf0a8
dm: ns16550: Support non-byte register spacing with driver model

Allow this driver to support boards where the register shift is not 0.
This fixes some compiler warnings which appear in that case.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c