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

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

hwmon: (pc87427) 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 6122de8f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1081,10 +1081,8 @@ static int pc87427_probe(struct platform_device *pdev)

	data = devm_kzalloc(&pdev->dev, sizeof(struct pc87427_data),
			    GFP_KERNEL);
	if (!data) {
		pr_err("Out of memory\n");
	if (!data)
		return -ENOMEM;
	}

	data->address[0] = sio_data->address[0];
	data->address[1] = sio_data->address[1];