Commit 5b20995e authored by Jingoo Han's avatar Jingoo Han Committed by Guenter Roeck

hwmon: (vt1211) remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent eefb6b76
...@@ -1152,10 +1152,8 @@ static int vt1211_probe(struct platform_device *pdev) ...@@ -1152,10 +1152,8 @@ static int vt1211_probe(struct platform_device *pdev)
int i, err; int i, err;
data = devm_kzalloc(dev, sizeof(struct vt1211_data), GFP_KERNEL); data = devm_kzalloc(dev, sizeof(struct vt1211_data), GFP_KERNEL);
if (!data) { if (!data)
dev_err(dev, "Out of memory\n");
return -ENOMEM; return -ENOMEM;
}
res = platform_get_resource(pdev, IORESOURCE_IO, 0); res = platform_get_resource(pdev, IORESOURCE_IO, 0);
if (!devm_request_region(dev, res->start, resource_size(res), if (!devm_request_region(dev, res->start, resource_size(res),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment