Thread (31 messages) 31 messages, 7 authors, 2022-09-10

Re: [PATCH 4/8] i2c: acpi: Use ACPI GPIO wake capability bit to set wake_irq

flat view

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-09-10 01:25:34
Also in: linux-acpi, linux-i2c, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help