All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20110106130440.cfd77c8e.akpm@linux-foundation.org>

diff --git a/a/1.txt b/N1/1.txt
index fe94866..b299e54 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -55,15 +55,15 @@ Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> wrote:
 >  
 >  	switch (event) {
 >  	case FB_EVENT_BLANK :
-> -		if (*blank && n->old_status = UNBLANK) {
-> +		if (new_status = n->old_status)
+> -		if (*blank && n->old_status == UNBLANK) {
+> +		if (new_status == n->old_status)
 > +			break;
 > +
-> +		if ((n->old_status = UNBLANK) ^ n->invert) {
+> +		if ((n->old_status == UNBLANK) ^ n->invert) {
 >  			n->brightness = led->brightness;
 >  			led_set_brightness(led, LED_OFF);
 > -			n->old_status = BLANK;
-> -		} else if (!*blank && n->old_status = BLANK) {
+> -		} else if (!*blank && n->old_status == BLANK) {
 > +		} else {
 >  			led_set_brightness(led, n->brightness);
 > -			n->old_status = UNBLANK;
@@ -147,7 +147,7 @@ So...
 +	n->invert = invert;
  
  	/* After inverting, we need to update the LED. */
- 	if ((n->old_status = BLANK) ^ n->invert)
+ 	if ((n->old_status == BLANK) ^ n->invert)
 _
 
 
diff --git a/a/content_digest b/N1/content_digest
index c928270..3669fde 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\0201012091441.51846.jkrzyszt@tis.icnet.pl\0"
  "From\0Andrew Morton <akpm@linux-foundation.org>\0"
- "Subject\0Re: [RESEND #2] [PATCH v2] LEDS: Add output invertion option to\0"
- "Date\0Thu, 06 Jan 2011 21:04:40 +0000\0"
+ "Subject\0Re: [RESEND #2] [PATCH v2] LEDS: Add output invertion option to backlight trigger\0"
+ "Date\0Thu, 6 Jan 2011 13:04:40 -0800\0"
  "To\0Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>\0"
  "Cc\0Richard Purdie <rpurdie@rpsys.net>"
   linux-fbdev@vger.kernel.org <linux-fbdev@vger.kernel.org>
@@ -67,15 +67,15 @@
  ">  \n"
  ">  \tswitch (event) {\n"
  ">  \tcase FB_EVENT_BLANK :\n"
- "> -\t\tif (*blank && n->old_status = UNBLANK) {\n"
- "> +\t\tif (new_status = n->old_status)\n"
+ "> -\t\tif (*blank && n->old_status == UNBLANK) {\n"
+ "> +\t\tif (new_status == n->old_status)\n"
  "> +\t\t\tbreak;\n"
  "> +\n"
- "> +\t\tif ((n->old_status = UNBLANK) ^ n->invert) {\n"
+ "> +\t\tif ((n->old_status == UNBLANK) ^ n->invert) {\n"
  ">  \t\t\tn->brightness = led->brightness;\n"
  ">  \t\t\tled_set_brightness(led, LED_OFF);\n"
  "> -\t\t\tn->old_status = BLANK;\n"
- "> -\t\t} else if (!*blank && n->old_status = BLANK) {\n"
+ "> -\t\t} else if (!*blank && n->old_status == BLANK) {\n"
  "> +\t\t} else {\n"
  ">  \t\t\tled_set_brightness(led, n->brightness);\n"
  "> -\t\t\tn->old_status = UNBLANK;\n"
@@ -159,7 +159,7 @@
  "+\tn->invert = invert;\n"
  " \n"
  " \t/* After inverting, we need to update the LED. */\n"
- " \tif ((n->old_status = BLANK) ^ n->invert)\n"
+ " \tif ((n->old_status == BLANK) ^ n->invert)\n"
  "_\n"
  "\n"
  "\n"
@@ -171,4 +171,4 @@
  "appropriate place for that?  Documentation/leds-class.txt doesn't\n"
  mention a sysfs API at all.
 
-e6131e7bde93763f98d0cefb744dae8d6bcc9cbcd3e37b5a8c98c60479be2c11
+2f6a0f98cafaf2b0edbb7a1e8a0b032c6c3f61438a1ea3e4c5b3520786aad693

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.