]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: designware_i2c: Do more in the probe() method
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2020 18:48:26 +0000 (11:48 -0700)
committerHeiko Schocher <hs@denx.de>
Mon, 27 Jan 2020 06:25:00 +0000 (07:25 +0100)
commit422ecc4b321ad47eead672888074984eb9af7c0b
treeca1b480da809db0882686df664689552135bf0bb
parentb4e7315386a52ad7cdb3dda1e544ecb2d69e99cc
i2c: designware_i2c: Do more in the probe() method

Move some of the code currently in the ofdata_to_platdata() method to
probe() so that it is not executed when generating ACPI tables.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/i2c/designware_i2c.c