watchdog: sp5100_tco: Match PCI device early
commita34834435f46225d9371b77599f44e3ec2e43b08
authorGuenter Roeck <linux@roeck-us.net>
Sun, 24 Dec 2017 21:04:11 +0000 (24 13:04 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 21 Jan 2018 11:56:35 +0000 (21 12:56 +0100)
tree90c65159fa7e23d54046052f507b506ae479d562
parente189410cbef1374ec29d42b72df0d58d5c7e193c
watchdog: sp5100_tco: Match PCI device early

Match PCI device in module init function, not in the probe function.
It is pointless trying to probe if we can determine early that the device
is not supported.

Cc: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sp5100_tco.c