i2c: core: Allow whole core to use i2c_dev_irq_from_resources
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 27 Jun 2019 09:24:06 +0000 (10:24 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 29 Jun 2019 11:17:17 +0000 (13:17 +0200)
commit1d7534b6adcd3e4a9673c4e7fdc5bf4770f5ab81
tree57986337bbe70d60b775ab79a0fe2af4176d5f4e
parent45c9cc681d8d9122fd64e1f2a4cc82e3dcc7f0a5
i2c: core: Allow whole core to use i2c_dev_irq_from_resources

Remove the static from i2c_dev_irq_from _resources so that other parts
of the core code can use this helper function.

Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c
drivers/i2c/i2c-core.h