All of lore.kernel.org
 help / color / mirror / Atom feed
* + drivers-leds-leds-lm3530c-remove-obsolete-cleanup-for-clientdata.patch added to -mm tree
@ 2011-08-26  0:08 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2011-08-26  0:08 UTC (permalink / raw)
  To: mm-commits; +Cc: w.sang, rpurdie


The patch titled
     drivers/leds/leds-lm3530.c: remove obsolete cleanup for clientdata
has been added to the -mm tree.  Its filename is
     drivers-leds-leds-lm3530c-remove-obsolete-cleanup-for-clientdata.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/leds/leds-lm3530.c: remove obsolete cleanup for clientdata
From: Wolfram Sang <w.sang@pengutronix.de>

A few new i2c-drivers came into the kernel which clear the
clientdata-pointer on exit or error.  This is obsolete meanwhile, the core
will do it.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/leds/leds-lm3530.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN drivers/leds/leds-lm3530.c~drivers-leds-leds-lm3530c-remove-obsolete-cleanup-for-clientdata drivers/leds/leds-lm3530.c
--- a/drivers/leds/leds-lm3530.c~drivers-leds-leds-lm3530c-remove-obsolete-cleanup-for-clientdata
+++ a/drivers/leds/leds-lm3530.c
@@ -422,7 +422,6 @@ err_class_register:
 err_reg_init:
 	regulator_put(drvdata->regulator);
 err_regulator_get:
-	i2c_set_clientdata(client, NULL);
 	kfree(drvdata);
 err_out:
 	return err;
_

Patches currently in -mm which might be from w.sang@pengutronix.de are

linux-next.patch
video-backlight-remove-obsolete-cleanup-for-clientdata.patch
drivers-leds-leds-lm3530c-remove-obsolete-cleanup-for-clientdata.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-26  0:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-26  0:08 + drivers-leds-leds-lm3530c-remove-obsolete-cleanup-for-clientdata.patch added to -mm tree akpm

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.