mfd: twl6030-irq: Revert to use of_match_device()
authorPeter Ujfalusi <peter.ujfalusi@gmail.com>
Sun, 29 Oct 2023 11:48:43 +0000 (13:48 +0200)
committerLee Jones <lee@kernel.org>
Thu, 7 Dec 2023 13:50:30 +0000 (13:50 +0000)
commit7a29fa05aeca2c16193f00a883c56ffc7c25b6c5
treeee398b20d799dab7157829c7b00e5111c0db5212
parentdb763745626495d23b0691f3906d3d7c40110db4
mfd: twl6030-irq: Revert to use of_match_device()

The core twl chip is probed via i2c and the dev->driver->of_match_table is
NULL, causing the driver to fail to probe.

This partially reverts:

  commit 1e0c866887f4 ("mfd: Use device_get_match_data() in a bunch of drivers")

Fixes: 1e0c866887f4 ("mfd: Use device_get_match_data() in a bunch of drivers")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20231029114843.15553-1-peter.ujfalusi@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/twl6030-irq.c