]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i2c: pca-platform: Use platform_irq_get_optional
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 26 Mar 2020 22:44:22 +0000 (11:44 +1300)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 28 Mar 2020 04:03:17 +0000 (05:03 +0100)
commit14c1fe699cad9cb0acda4559c584f136d18fea50
tree035d360d5de9a6d0dd778f68d2d8330994b11a1a
parentf491c6687332920e296d0209e366fe2ca7eab1c6
i2c: pca-platform: Use platform_irq_get_optional

The interrupt is not required so use platform_irq_get_optional() to
avoid error messages like

  i2c-pca-platform 22080000.i2c: IRQ index 0 not found

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pca-platform.c