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

Commit ed1a819a authored by Jingoo Han's avatar Jingoo Han Committed by Thierry Reding
Browse files

pwm: pwm-tipwmss: remove unnecessary OOM messages



The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message. The following
checkpatch warning is also removed.

  WARNING: Possible unnecessary 'out of memory' message

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent eae266a2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -62,10 +62,8 @@ static int pwmss_probe(struct platform_device *pdev)
	struct device_node *node = pdev->dev.of_node;

	info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
	if (!info) {
		dev_err(&pdev->dev, "failed to allocate memory\n");
	if (!info)
		return -ENOMEM;
	}

	mutex_init(&info->pwmss_lock);