projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f89b07
)
hwmon: (s3c-hwmon) remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 29 Apr 2014 08:12:25 +0000
(17:12 +0900)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 21 May 2014 23:02:22 +0000
(16:02 -0700)
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/s3c-hwmon.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/s3c-hwmon.c
b/drivers/hwmon/s3c-hwmon.c
index 73bd64e8c30a8bc8ad6dfdd947cf7a33bf52f142..0674c13bbd4bffe73f626cdd6881a85c3d70445e 100644
(file)
--- a/
drivers/hwmon/s3c-hwmon.c
+++ b/
drivers/hwmon/s3c-hwmon.c
@@
-285,10
+285,8
@@
static int s3c_hwmon_probe(struct platform_device *dev)
}
hwmon = devm_kzalloc(&dev->dev, sizeof(struct s3c_hwmon), GFP_KERNEL);
- if (hwmon == NULL) {
- dev_err(&dev->dev, "no memory\n");
+ if (hwmon == NULL)
return -ENOMEM;
- }
platform_set_drvdata(dev, hwmon);