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

Commit eff7d74f authored by Chanwoo Choi's avatar Chanwoo Choi Committed by Greg Kroah-Hartman
Browse files

extcon: max77693: Convert to devm_input_allocate_device()

parent fd116066
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1066,7 +1066,7 @@ static int max77693_muic_probe(struct platform_device *pdev)
	}

	/* Register input device for button of dock device */
	info->dock = input_allocate_device();
	info->dock = devm_input_allocate_device(&pdev->dev);
	if (!info->dock) {
		dev_err(&pdev->dev, "%s: failed to allocate input\n", __func__);
		return -ENOMEM;