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)
commitbc72675228c781996d7f62849e84dd23145479d5
tree29f4414f34e080005f5b077f54e83ca8ca4bc648
parent65171b2df15eb7545431d75c2729b5062da89b43
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