Re: [PATCH 15/18] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()

2020-12-02 Thread Dan Scally
On 30/11/2020 17:11, Laurent Pinchart wrote: > Hi Daniel, > > Thank you for the patch. > > On Mon, Nov 30, 2020 at 01:31:26PM +, Daniel Scally wrote: >> Some places in the kernel allow users to map resources to a device >> using device name (for example, gpiod_lookup_table). Currently >>

Re: [PATCH 15/18] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()

2020-11-30 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Mon, Nov 30, 2020 at 01:31:26PM +, Daniel Scally wrote: > Some places in the kernel allow users to map resources to a device > using device name (for example, gpiod_lookup_table). Currently > this involves waiting for the i2c_client to have been

[PATCH 15/18] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()

2020-11-30 Thread Daniel Scally
Some places in the kernel allow users to map resources to a device using device name (for example, gpiod_lookup_table). Currently this involves waiting for the i2c_client to have been registered so we can use dev_name(>dev). Adding this function means that we can achieve the same thing without