dm: serial: Adjust serial_getinfo() to use proper API
authorSimon Glass <sjg@chromium.org>
Fri, 28 Dec 2018 21:23:10 +0000 (14:23 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Jan 2019 00:47:13 +0000 (17:47 -0700)
commita61cbad78e67963944e7d719f0aee27b8aef6c02
tree5b274a956002e4d7c37e19ae63293015be15f9bc
parent3de04e771c4b230ad08c7b22871dedf5f69032b9
dm: serial: Adjust serial_getinfo() 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