Re: [PATCH net-next v2 1/2] i2c: acpi: export i2c_acpi_find_adapter_by_handle

2019-05-27 Thread Ruslan Babayev
Mika Westerberg writes: > On Fri, May 24, 2019 at 05:53:01PM -0700, Ruslan Babayev wrote: >> +struct i2c_adapter *i2c_acpi_find_adapter_by_handle(acpi_handle handle); >> #else >> static inline bool i2c_acpi_get_i2c_resource(struct acpi_resource *ares, >>

Re: [PATCH net-next v2 1/2] i2c: acpi: export i2c_acpi_find_adapter_by_handle

2019-05-27 Thread Ruslan Babayev
cpi_find_adapter_by_handle > May 24 Ruslan Babayev ( 65) └─>[PATCH net-next v2 1/2] i2c: acpi: export > i2c_acpi_find_adapter_by_handle > May 05 Ruslan Babayev ( 65) [PATCH net-next 1/2] i2c: acpi: export > i2c_acpi_find_adapter_by_handle > May 06 Ruslan Babayev ( 3) ├─>

Re: [PATCH net-next v2 1/2] i2c: acpi: export i2c_acpi_find_adapter_by_handle

2019-05-27 Thread Wolfram Sang
a look how your patches look in my inbox: May 05 Ruslan Babayev ( 129) [PATCH] net: phy: sfp: enable i2c-bus detection on ACPI based systems May 05 Ruslan Babayev ( 65) ├─>[PATCH 1/2] i2c: acpi: export i2c_acpi_find_adapter_by_handle May 24 Ruslan Babayev ( 65) └─>[PATCH net-next v2 1

Re: [PATCH net-next v2 1/2] i2c: acpi: export i2c_acpi_find_adapter_by_handle

2019-05-27 Thread Mika Westerberg
On Fri, May 24, 2019 at 05:53:01PM -0700, Ruslan Babayev wrote: > +struct i2c_adapter *i2c_acpi_find_adapter_by_handle(acpi_handle handle); > #else > static inline bool i2c_acpi_get_i2c_resource(struct acpi_resource *ares, >struct

[PATCH net-next v2 1/2] i2c: acpi: export i2c_acpi_find_adapter_by_handle

2019-05-24 Thread Ruslan Babayev
This allows drivers to lookup i2c adapters on ACPI based systems similar to of_get_i2c_adapter_by_node() with DT based systems. Signed-off-by: Ruslan Babayev Cc: xe-linux-exter...@cisco.com --- drivers/i2c/i2c-core-acpi.c | 3 ++- include/linux/i2c.h | 6 ++ 2 files changed, 8