]> git.dujemihanovic.xyz Git - u-boot.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)
commit2034f6c27fc91407fe8bbd36670714b77d9ef1dc
treeca1b480da809db0882686df664689552135bf0bb
parent23ad52ebb1e5b322e22c5c6b9d1a06b36fdc97c0
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