Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eefb6b76 authored by Jingoo Han's avatar Jingoo Han Committed by Guenter Roeck
Browse files

hwmon: (s3c-hwmon) 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 2f89b072
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);