diff options
author | Shubhrajyoti Datta <omaplinuxkernel@gmail.com> | 2011-12-20 07:15:08 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-07 03:32:45 +0100 |
commit | 218d06d79468ca2e6abf3679eea12d7d93d251ef (patch) | |
tree | c4a3135fb488e627bcd7157000bd0cffffc4629b /drivers/i2c/busses | |
parent | ARM: tegra: dma: fix buildbreak for !CONFIG_TEGRA_SYSTEM_DMA (diff) | |
download | linux-218d06d79468ca2e6abf3679eea12d7d93d251ef.tar.xz linux-218d06d79468ca2e6abf3679eea12d7d93d251ef.zip |
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>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 6381604696d3..0ab4a9548745 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -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, |