提交 218d06d7 编写于 作者: S Shubhrajyoti Datta 提交者: Olof Johansson

i2c: tegra: Add devexit_p() for remove

It was originally missed in the __devinit/__devexit annotations.
Signed-off-by: NShubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: NStephen Warren <swarren@nvidia.com>
Acked-by: NBen Dooks <ben-linux@fluff.org>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 f0243257
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册