]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mpc: make interrupt mandatory and remove polling code
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 29 Mar 2021 01:52:04 +0000 (14:52 +1300)
committerWolfram Sang <wsa@kernel.org>
Sat, 10 Apr 2021 20:14:34 +0000 (22:14 +0200)
commitc413e528d883a2c03b728c86f66e3f6936c14f16
tree29f4414f34e080005f5b077f54e83ca8ca4bc648
parenta27ed9b81779838f1ee4e0b4f58e0a773d3ad947
i2c: mpc: make interrupt mandatory and remove polling code

All the in-tree dts files that use one of the compatible strings from
i2c-mpc.c provide an interrupt property. By making this mandatory we
can simplify the code.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mpc.c