On Fri, Sep 09, 2022 at 12:47:11PM -0600, Raul Rangel wrote: > It looks like `i2c_acpi_get_irq` and `platform_get_irq_optional` are > doing pretty much the same thing. Can we replace `i2c_acpi_get_irq` > and switch over to `platform_get_irq_optional`? Is it possible to get > a `platform_device` from an `i2c_client`? No, they are completely different objects. struct device / | \ platform_device i2c_client spi_device ... Also, please no top-posting on kernel mailing lists. Thanks. -- Dmitry