serial: pl01x: avoid pl01x type check two times
authorVikas Manocha <vikas.manocha@st.com>
Fri, 21 Nov 2014 18:34:23 +0000 (10:34 -0800)
committerTom Rini <trini@ti.com>
Mon, 8 Dec 2014 14:35:45 +0000 (09:35 -0500)
commiteb8a4fe0dc5db5f586ae26d04aa132c76535b27c
tree885554c23fccaa71a6e808e5f4d33988498b6977
parentf7e517b4ebc199ec90bb56ae4336dbd534ecade5
serial: pl01x: avoid pl01x type check two times

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_pl01x.c