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

Commit 0c09d315 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: anatop: Use correct __devexit_p annotation



__devexit functions are discarded when CONFIG_HOTPLUG
is not set, so the symbol needs to be referenced carefully.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c71c8fd4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -224,7 +224,7 @@ static struct platform_driver anatop_regulator_driver = {
		.of_match_table = of_anatop_regulator_match_tbl,
		.of_match_table = of_anatop_regulator_match_tbl,
	},
	},
	.probe	= anatop_regulator_probe,
	.probe	= anatop_regulator_probe,
	.remove	= anatop_regulator_remove,
	.remove	= __devexit_p(anatop_regulator_remove),
};
};


static int __init anatop_regulator_init(void)
static int __init anatop_regulator_init(void)