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)
commitdab472eb931bc2916fa779e56deccd0ec319cf5b
treecfa97bd0c628bb47afd785c0320f693abbe12d61
parent8864afaa635be099c5c73a2f0d640a12e58f1d14
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