[U-Boot] [PATCH v2 4/5] dm: serial: Adjust serial_getinfo() to use proper API

sjg at google.com sjg at google.com
Sat Jan 12 01:24:55 UTC 2019


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

Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>
---

Changes in v2:
- Add a comment about reusing the device pointer

 arch/x86/lib/acpi_table.c      | 11 ++++++-----
 drivers/serial/serial-uclass.c |  9 +++------
 include/serial.h               |  2 +-
 test/dm/serial.c               |  4 ++--
 4 files changed, 12 insertions(+), 14 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list