dm: serial: Adjust serial_getconfig() to use proper API
authorSimon Glass <sjg@chromium.org>
Fri, 28 Dec 2018 21:23:08 +0000 (14:23 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Jan 2019 00:47:13 +0000 (17:47 -0700)
commit67d1b0513079049baa3e0e38603eb33a3857af5d
tree7cfee737937dd1d74d9f60e86a808970f382b19e
parent0171f432047e86305593bb1eb1cc86f853e55029
dm: serial: Adjust serial_getconfig() to use proper API

All driver-model functions should have a device as the first parameter.
Update this function accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
arch/x86/lib/acpi_table.c
drivers/serial/serial-uclass.c
include/serial.h
test/dm/serial.c