On Mon, 24 Nov 2025 15:51:00 +0100, Marek Vasut wrote:

> The i2c_chip_of_to_plat() is called only from i2c_child_post_bind(),
> inline i2c_chip_of_to_plat() into i2c_child_post_bind(). Drop the
> if CONFIG_IS_ENABLED(OF_REAL) and depend on if (!dev_has_ofnode(dev))
> which does check CONFIG_IS_ENABLED(OF_REAL) internally too.
> 
> 

Applied to u-boot/next, thanks!

[1/2] i2c: Inline i2c_chip_of_to_plat() into i2c_child_post_bind()
      commit: 5b968372e2136206585d1b0a1c9e9e683127c057
[2/2] i2c: Avoid calling dev_read_*() if CONFIG_OF_PLATDATA=y
      commit: 48e56ac26dd925984d599ce06cb769dabb1251d6
-- 
Tom


Reply via email to