dm: serial: Adjust serial_setconfig() to use proper API
authorSimon Glass <sjg@chromium.org>
Fri, 28 Dec 2018 21:23:09 +0000 (14:23 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Jan 2019 00:47:13 +0000 (17:47 -0700)
commit3de04e771c4b230ad08c7b22871dedf5f69032b9
treee8e0bac50268aea26f79ff13e6b70aff85c7e46c
parent67d1b0513079049baa3e0e38603eb33a3857af5d
dm: serial: Adjust serial_setconfig() 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>
drivers/serial/serial-uclass.c
include/serial.h
test/dm/serial.c