[U-Boot] [PATCH v2 0/5] dm: serial: Fix up some serial API errors
Simon Glass
sjg at chromium.org
Fri Dec 28 21:23:06 UTC 2018
New serial functions should use a driver pointer as the first argument.
The old functions are only there for backwards compatibilty, and can be
adjusted soon.
For now, adjust the new functions to work correctly.
Changes in v2:
- Add a comment about reusing the device pointer
- Fix @return comment on getinfo() method
Simon Glass (5):
serial: Move new functions to serial.h
dm: serial: Adjust serial_getconfig() to use proper API
dm: serial: Adjust serial_setconfig() to use proper API
dm: serial: Adjust serial_getinfo() to use proper API
dm: serial: Tidy up header file comments
arch/x86/lib/acpi_table.c | 12 +++++++----
drivers/serial/serial-uclass.c | 27 ++++++++----------------
include/common.h | 5 -----
include/serial.h | 38 +++++++++++++++++++++++++++++++---
test/dm/serial.c | 19 ++++++++++-------
5 files changed, 63 insertions(+), 38 deletions(-)
--
2.20.1.415.g653613c723-goog
More information about the U-Boot
mailing list