aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-29 04:06:59 -0400
committerGuenter Roeck <linux@roeck-us.net>2014-05-21 19:02:21 -0400
commitb83207fddae08497771f6978c58ead0d0680fcd8 (patch)
treeab02e37322eac6b83450e16ed69d29c7735406f1
parent030004b1edf1d3b7e7a0957b4cb11b28372b8d70 (diff)
hwmon: (f71805f) remove unnecessary OOM messages
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>
-rw-r--r--drivers/hwmon/f71805f.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hwmon/f71805f.c b/drivers/hwmon/f71805f.c
index 32f5132c4652..9e57b77ecd34 100644
--- a/drivers/hwmon/f71805f.c
+++ b/drivers/hwmon/f71805f.c
@@ -1387,10 +1387,8 @@ static int f71805f_probe(struct platform_device *pdev)
1387 1387
1388 data = devm_kzalloc(&pdev->dev, sizeof(struct f71805f_data), 1388 data = devm_kzalloc(&pdev->dev, sizeof(struct f71805f_data),
1389 GFP_KERNEL); 1389 GFP_KERNEL);
1390 if (!data) { 1390 if (!data)
1391 pr_err("Out of memory\n");
1392 return -ENOMEM; 1391 return -ENOMEM;
1393 }
1394 1392
1395 res = platform_get_resource(pdev, IORESOURCE_IO, 0); 1393 res = platform_get_resource(pdev, IORESOURCE_IO, 0);
1396 if (!devm_request_region(&pdev->dev, res->start + ADDR_REG_OFFSET, 2, 1394 if (!devm_request_region(&pdev->dev, res->start + ADDR_REG_OFFSET, 2,