projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
watchdog: Remove unnecessary OOM messages
[cascardo/linux.git]
/
drivers
/
watchdog
/
da9055_wdt.c
diff --git
a/drivers/watchdog/da9055_wdt.c
b/drivers/watchdog/da9055_wdt.c
index
575f37a
..
495089d
100644
(file)
--- a/
drivers/watchdog/da9055_wdt.c
+++ b/
drivers/watchdog/da9055_wdt.c
@@
-151,10
+151,8
@@
static int da9055_wdt_probe(struct platform_device *pdev)
driver_data = devm_kzalloc(&pdev->dev, sizeof(*driver_data),
GFP_KERNEL);
driver_data = devm_kzalloc(&pdev->dev, sizeof(*driver_data),
GFP_KERNEL);
- if (!driver_data) {
- dev_err(da9055->dev, "Failed to allocate watchdog device\n");
+ if (!driver_data)
return -ENOMEM;
return -ENOMEM;
- }
driver_data->da9055 = da9055;
driver_data->da9055 = da9055;