diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-05-22 13:40:24 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-05-30 09:55:38 +0400 |
commit | fb551405c0f8e15d6fc7ae6e16a5e15382f8b8ac (patch) | |
tree | 79b8e6dc8ee5180e74a368748f2fac94f525f4e8 /drivers/hwmon/sch5627.c | |
parent | e907df32725204d6d2cb79b872529911c8eadcdf (diff) | |
download | linux-fb551405c0f8e15d6fc7ae6e16a5e15382f8b8ac.tar.xz |
watchdog: sch56xx: Use watchdog core
Convert sch56xx drivers to the generic watchdog core.
Note this patch depends on the "watchdog: Add multiple device support" patch
from Alan Cox.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/hwmon/sch5627.c')
-rw-r--r-- | drivers/hwmon/sch5627.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/sch5627.c b/drivers/hwmon/sch5627.c index 8ec6dfbccb64..8342275378b8 100644 --- a/drivers/hwmon/sch5627.c +++ b/drivers/hwmon/sch5627.c @@ -579,7 +579,7 @@ static int __devinit sch5627_probe(struct platform_device *pdev) } /* Note failing to register the watchdog is not a fatal error */ - data->watchdog = sch56xx_watchdog_register(data->addr, + data->watchdog = sch56xx_watchdog_register(&pdev->dev, data->addr, (build_code << 24) | (build_id << 8) | hwmon_rev, &data->update_lock, 1); |