diff for duplicates of <201208241525@sw-eng-lt-dc-vm2> diff --git a/a/1.txt b/N1/1.txt index 176618d..48f2ec6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -350,13 +350,13 @@ index 0000000..3203fc6 + + da906x = dev_get_drvdata(pdev->dev.parent); + pdata = da906x->dev->platform_data; -+ if (pdata == NULL) { ++ if (pdata = NULL) { + dev_err(&pdev->dev, "No platform data\n"); + return -ENODEV; + } + + leds_pdata = pdata->leds_pdata; -+ if (leds_pdata == NULL) { ++ if (leds_pdata = NULL) { + dev_err(&pdev->dev, "No platform data for LEDs\n"); + return -ENODEV; + } @@ -364,7 +364,7 @@ index 0000000..3203fc6 + size = sizeof(struct da906x_leds) + + sizeof(struct da906x_led) * leds_pdata->num_leds; + leds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL); -+ if (leds == NULL) { ++ if (leds = NULL) { + dev_err(&pdev->dev, "Failed to alloc memory\n"); + return -ENOMEM; + } @@ -383,7 +383,7 @@ index 0000000..3203fc6 + + /* Check, if LED ID is not duplicated */ + for (led = &leds->led[0], j = 0; j < i; led++, j++) { -+ if (led->id == ++ if (led->id = + (led_info->flags & DA906X_LED_ID_MASK)) { + dev_err(&pdev->dev, "Duplicated LED ID\n"); + ret = -EINVAL; diff --git a/a/content_digest b/N1/content_digest index 5d420c9..9fb5e5f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0201208241520@sw-eng-lt-dc-vm2\0" "From\0Krystian Garbaciak <krystian.garbaciak@diasemi.com>\0" - "Subject\0[RFC PATCH 8/8] leds: Add DA906x PMIC LED driver.\0" - "Date\0Fri, 24 Aug 2012 15:25:00 +0100\0" + "Subject\0[lm-sensors] [RFC PATCH 8/8] leds: Add DA906x PMIC LED driver.\0" + "Date\0Fri, 24 Aug 2012 14:25:00 +0000\0" "To\0linux-kernel@vger.kernel.org" rtc-linux@googlegroups.com lm-sensors@lm-sensors.org @@ -373,13 +373,13 @@ "+\n" "+\tda906x = dev_get_drvdata(pdev->dev.parent);\n" "+\tpdata = da906x->dev->platform_data;\n" - "+\tif (pdata == NULL) {\n" + "+\tif (pdata = NULL) {\n" "+\t\tdev_err(&pdev->dev, \"No platform data\\n\");\n" "+\t\treturn -ENODEV;\n" "+\t}\n" "+\n" "+\tleds_pdata = pdata->leds_pdata;\n" - "+\tif (leds_pdata == NULL) {\n" + "+\tif (leds_pdata = NULL) {\n" "+\t\tdev_err(&pdev->dev, \"No platform data for LEDs\\n\");\n" "+\t\treturn -ENODEV;\n" "+\t}\n" @@ -387,7 +387,7 @@ "+\tsize = sizeof(struct da906x_leds) +\n" "+\t sizeof(struct da906x_led) * leds_pdata->num_leds;\n" "+\tleds = devm_kzalloc(&pdev->dev, size, GFP_KERNEL);\n" - "+\tif (leds == NULL) {\n" + "+\tif (leds = NULL) {\n" "+\t\tdev_err(&pdev->dev, \"Failed to alloc memory\\n\");\n" "+\t\treturn -ENOMEM;\n" "+\t}\n" @@ -406,7 +406,7 @@ "+\n" "+\t\t/* Check, if LED ID is not duplicated */\n" "+\t\tfor (led = &leds->led[0], j = 0; j < i; led++, j++) {\n" - "+\t\t\tif (led->id ==\n" + "+\t\t\tif (led->id =\n" "+\t\t\t (led_info->flags & DA906X_LED_ID_MASK)) {\n" "+\t\t\t\tdev_err(&pdev->dev, \"Duplicated LED ID\\n\");\n" "+\t\t\t\tret = -EINVAL;\n" @@ -521,4 +521,4 @@ "lm-sensors@lm-sensors.org\n" http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -dd0c1fdfe35ee8797a8a595bf19a283f994f2e946ad59f22c473d954f950e004 +6469fc2b275e718aa629d7f1179cbff819203900ab59d81b15c371f55ba06841
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.