]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: acpi: export i2c_acpi_find_adapter_by_handle
authorRuslan Babayev <ruslan@babayev.com>
Tue, 28 May 2019 23:02:32 +0000 (16:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 18:27:46 +0000 (11:27 -0700)
commit0c785f154a335ccf02775ba8ed8a4b42e019ee3d
tree7071fef48f4b3e36381f0c0d278da546592afbca
parente5e132bc0f8a3c2d43a2568de274c5010560b133
i2c: acpi: export i2c_acpi_find_adapter_by_handle

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 <ruslan@babayev.com>
Cc: xe-linux-external@cisco.com
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/i2c/i2c-core-acpi.c
include/linux/i2c.h