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

Commit 4410af6e authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds
Browse files

rtc: rtc-moxart: 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 avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7841fe53
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -247,10 +247,8 @@ static int moxart_rtc_probe(struct platform_device *pdev)
	int ret = 0;

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

	moxart_rtc->gpio_data = of_get_named_gpio(pdev->dev.of_node,
						  "gpio-rtc-data", 0);