All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [PATCH] extcon: driver model release call not needed
@ 2012-10-18 17:12 anish kumar
  2012-10-20  1:57 ` Chanwoo Choi
  2012-10-22 19:57 ` Greg KH
  0 siblings, 2 replies; 7+ messages in thread
From: anish kumar @ 2012-10-18 17:12 UTC (permalink / raw)
  To: gregkh, myungjoo.ham, cw00.choi; +Cc: linux-kernel, anish kumar

From: anish kumar <anish198519851985@gmail.com>

We don't need a release call in this file as we are doing
everything needed in unregister call and we don't have any
more pointer to free up.

Signed-off-by: anish kumar <anish198519851985@gmail.com>
---
 drivers/extcon/extcon-class.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c
index 946a318..cf30eb1 100644
--- a/drivers/extcon/extcon-class.c
+++ b/drivers/extcon/extcon-class.c
@@ -585,9 +585,7 @@ static void extcon_cleanup(struct extcon_dev *edev, bool skip)
 
 static void extcon_dev_release(struct device *dev)
 {
-	struct extcon_dev *edev = (struct extcon_dev *) dev_get_drvdata(dev);
-
-	extcon_cleanup(edev, true);
+	/* We don't have any thing to free here */
 }
 
 static const char *muex_name = "mutually_exclusive";
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-22 19:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 17:12 [PATCH] [PATCH] extcon: driver model release call not needed anish kumar
2012-10-20  1:57 ` Chanwoo Choi
2012-10-20  2:30   ` anish kumar
2012-10-20  2:37     ` Chanwoo Choi
2012-10-20  3:33       ` anish kumar
2012-10-20  4:00         ` Chanwoo Choi
2012-10-22 19:57 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.