OSDN Git Service

mfd: da9062: Fix watchdog compatible string
authorMarco Felsch <m.felsch@pengutronix.de>
Wed, 8 Jan 2020 09:57:02 +0000 (10:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:29:59 +0000 (16:29 -0500)
commitac47d815bf585e5ae33a3face9a6dd00ef2283dd
treed899ed67d16d79c099fa1183a245dee3588053e6
parenta6b9ef03918192ef14967ab91a736ff0411b6419
mfd: da9062: Fix watchdog compatible string

commit 1112ba02ff1190ca9c15a912f9269e54b46d2d82 upstream.

The watchdog driver compatible is "dlg,da9062-watchdog" and not
"dlg,da9062-wdt". Therefore the mfd-core can't populate the of_node and
fwnode. As result the watchdog driver can't parse the devicetree.

Fixes: 9b40b030c4ad ("mfd: da9062: Supply core driver")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/da9062-core.c