Unverified Commit 7d4a320c authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!7661 [sync] PR-7590: drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function

parents 414ed346 531028a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@ static int tpd12s015_probe(struct platform_device *pdev)
	return 0;
}

static int __exit tpd12s015_remove(struct platform_device *pdev)
static int tpd12s015_remove(struct platform_device *pdev)
{
	struct tpd12s015_device *tpd = platform_get_drvdata(pdev);

@@ -197,7 +197,7 @@ MODULE_DEVICE_TABLE(of, tpd12s015_of_match);

static struct platform_driver tpd12s015_driver = {
	.probe	= tpd12s015_probe,
	.remove	= __exit_p(tpd12s015_remove),
	.remove = tpd12s015_remove,
	.driver	= {
		.name	= "tpd12s015",
		.of_match_table = tpd12s015_of_match,