Thread (1 message) 1 message, 1 author, 2011-12-20

[PATCH V2 1/4] i2c: tegra: Add __devinit/exit to probe/remove

From: Shubhrajyoti Datta <hidden>
Date: 2011-12-20 06:15:08
Also in: linux-devicetree, linux-i2c, linux-tegra
Subsystem: i2c subsystem, i2c subsystem host drivers, tegra i2c driver, the rest · Maintainers: Andi Shyti, Laxman Dewangan, Linus Torvalds

Possibly related (same subject, not in this thread)

On Tue, Dec 20, 2011 at 7:26 AM, Olof Johansson [off-list ref] wrote:
On Sat, Dec 17, 2011 at 11:29:29PM -0700, Stephen Warren wrote:
quoted
This fixes some section mismatch build warnings.

Signed-off-by: Stephen Warren <redacted>
Ben, since the patch is trivial, I've picked it up in tegra
for-3.3/drivers and will merge that way. Let me know if you disagree.
Hi Stephen ,
could you check this one also
thanks.

From: Shubhrajyoti D <redacted>
Date: Tue, 20 Dec 2011 11:40:51 +0530
Subject: [PATCH] I2C : tegra : devexit in remove

Adding I2C __devexxit in remove

Cc: Stephen Warren <redacted>
Signed-off-by: Shubhrajyoti D <redacted>
---
Untested

 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 46b6500..b25f78b 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -751,7 +751,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,
-- 
1.7.1

> Thanks,
>
> -Olof
> --
> To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help