From: Simon Glass Date: Fri, 28 Dec 2018 14:23:06 -0700 Subject: [U-Boot] [PATCH v2 0/5] dm: serial: Fix up some serial API errors Message-ID: <20181228212311.134463-1-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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