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

Commit 0ee42bb1 authored by Jingoo Han's avatar Jingoo Han Committed by Mark Brown
Browse files

regulator: pbias: 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>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 75dbf0a0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -122,10 +122,8 @@ static int pbias_regulator_probe(struct platform_device *pdev)

	drvdata = devm_kzalloc(&pdev->dev, sizeof(struct pbias_regulator_data)
			       * count, GFP_KERNEL);
	if (drvdata == NULL) {
		dev_err(&pdev->dev, "Failed to allocate device data\n");
	if (!drvdata)
		return -ENOMEM;
	}

	syscon = syscon_regmap_lookup_by_phandle(np, "syscon");
	if (IS_ERR(syscon))