diff for duplicates of <20120830201019.GA3875@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 6e8cfc3..843801b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -102,13 +102,13 @@ For the ones you do use, please use (1 << x) to show that it is a bit. > + struct max197_platform_data *pdata; > + int ch, ret; > + -> + if (pdev->dev.platform_data = NULL) { +> + if (pdev->dev.platform_data == NULL) { > + dev_err(&pdev->dev, "no platform data supplied\n"); > + return -EINVAL; > + } > + pdata = pdev->dev.platform_data; > + -> + if (pdata->convert = NULL) { +> + if (pdata->convert == NULL) { > + dev_err(&pdev->dev, "no convert function supplied\n"); > + return -EINVAL; > + } @@ -122,7 +122,7 @@ For the ones you do use, please use (1 << x) to show that it is a bit. > + chip->pdata = pdata; > + mutex_init(&chip->lock); > + -> + if (strcmp("max197", pdev->name) = 0) { +> + if (strcmp("max197", pdev->name) == 0) { > + chip->limit = MAX197_LIMIT; > + chip->scale = true; > + } else { @@ -217,8 +217,3 @@ MODULE_ALIAS("platform:max197"); MODULE_ALIAS("platform:max199"); Guenter - -_______________________________________________ -lm-sensors mailing list -lm-sensors@lm-sensors.org -http://lists.lm-sensors.org/mailman/listinfo/lm-sensors diff --git a/a/content_digest b/N1/content_digest index f051716..a3b278e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01346351995-9038-1-git-send-email-vivien.didelot@savoirfairelinux.com\0" "From\0Guenter Roeck <linux@roeck-us.net>\0" - "Subject\0Re: [lm-sensors] [PATCH] hwmon: add Maxim MAX197 support\0" - "Date\0Thu, 30 Aug 2012 20:10:19 +0000\0" + "Subject\0Re: [PATCH] hwmon: add Maxim MAX197 support\0" + "Date\0Thu, 30 Aug 2012 13:10:19 -0700\0" "To\0Vivien Didelot <vivien.didelot@savoirfairelinux.com>\0" "Cc\0lm-sensors@lm-sensors.org" Jean Delvare <khali@linux-fr.org> @@ -112,13 +112,13 @@ "> +\tstruct max197_platform_data *pdata;\n" "> +\tint ch, ret;\n" "> +\n" - "> +\tif (pdev->dev.platform_data = NULL) {\n" + "> +\tif (pdev->dev.platform_data == NULL) {\n" "> +\t\tdev_err(&pdev->dev, \"no platform data supplied\\n\");\n" "> +\t\treturn -EINVAL;\n" "> +\t}\n" "> +\tpdata = pdev->dev.platform_data;\n" "> +\n" - "> +\tif (pdata->convert = NULL) {\n" + "> +\tif (pdata->convert == NULL) {\n" "> +\t\tdev_err(&pdev->dev, \"no convert function supplied\\n\");\n" "> +\t\treturn -EINVAL;\n" "> +\t}\n" @@ -132,7 +132,7 @@ "> +\tchip->pdata = pdata;\n" "> +\tmutex_init(&chip->lock);\n" "> +\n" - "> +\tif (strcmp(\"max197\", pdev->name) = 0) {\n" + "> +\tif (strcmp(\"max197\", pdev->name) == 0) {\n" "> +\t\tchip->limit = MAX197_LIMIT;\n" "> +\t\tchip->scale = true;\n" "> +\t} else {\n" @@ -226,11 +226,6 @@ "MODULE_ALIAS(\"platform:max197\");\n" "MODULE_ALIAS(\"platform:max199\");\n" "\n" - "Guenter\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + Guenter -ec6bc8e7e99c65f1a33d7d9d8f983c7874929616604b61e1ec76cf3e4e1247f9 +f4cafde2f84f26d6c6605bc366d4d2c03616d6a09f3f0a371d30fb45e262bea3
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.