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

Commit 218d06d7 authored by Shubhrajyoti Datta's avatar Shubhrajyoti Datta Committed by Olof Johansson
Browse files

i2c: tegra: Add devexit_p() for remove



It was originally missed in the __devinit/__devexit annotations.

Signed-off-by: default avatarShubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent f0243257
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -755,7 +755,7 @@ MODULE_DEVICE_TABLE(of, tegra_i2c_of_match);

static struct platform_driver tegra_i2c_driver = {
	.probe   = tegra_i2c_probe,
	.remove  = tegra_i2c_remove,
	.remove  = __devexit_p(tegra_i2c_remove),
#ifdef CONFIG_PM
	.suspend = tegra_i2c_suspend,
	.resume  = tegra_i2c_resume,