legoev3: Migrate to DM_I2C
authorTom Rini <trini@konsulko.com>
Mon, 27 Jun 2022 17:35:49 +0000 (13:35 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jul 2022 21:57:34 +0000 (17:57 -0400)
commitba39d90728ee9a51861dc4803e9a41925d52ad55
treeeb12b9373be100dfeb61dd053eb1793e363f14d9
parentedcbd6e38899589b8d03d1f1f8ebc01beb3b574b
legoev3: Migrate to DM_I2C

Perform a basic migration of the calls in setup_serial_number() to DM so
that we can switch to using DM_I2C on this platform.

Cc: David Lechner <david@lechnology.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: David Lechner <david@lechnology.com>
board/lego/ev3/legoev3.c
configs/legoev3_defconfig