mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
i2c: tegra: Add devexit_p() for remove
It was originally missed in the __devinit/__devexit annotations. Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
f02432571a
commit
218d06d794
@ -755,7 +755,7 @@ MODULE_DEVICE_TABLE(of, tegra_i2c_of_match);
|
|||||||
|
|
||||||
static struct platform_driver tegra_i2c_driver = {
|
static struct platform_driver tegra_i2c_driver = {
|
||||||
.probe = tegra_i2c_probe,
|
.probe = tegra_i2c_probe,
|
||||||
.remove = tegra_i2c_remove,
|
.remove = __devexit_p(tegra_i2c_remove),
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
.suspend = tegra_i2c_suspend,
|
.suspend = tegra_i2c_suspend,
|
||||||
.resume = tegra_i2c_resume,
|
.resume = tegra_i2c_resume,
|
||||||
|
Loading…
Reference in New Issue
Block a user