]> git.baikalelectronics.ru Git - kernel.git/commit
i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 6 May 2015 10:29:07 +0000 (13:29 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 May 2015 08:23:22 +0000 (10:23 +0200)
commita8f42490dbc8824245ef8a8ea106a19228631d0a
treecfa97bd0c628bb47afd785c0320f693abbe12d61
parentbbd7cd634998ec9ca71674d4d5e21029bf03ebf5
i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned

This is the convention used in most parts of the kernel including DT
counterpart of I2C slave enumeration. To make things consistent do the same
for ACPI I2C slave enumeration path as well.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/i2c/i2c-core.c