diff for duplicates of <4CC449CE.7070607@tremplin-utc.net> diff --git a/a/1.txt b/N1/1.txt index 0f0ecd3..2951e94 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -118,7 +118,7 @@ Acked-by: Eric Piel <eric.piel@tremplin-utc.net> > + dev->reg_cache = kzalloc(max(sizeof(lis3_wai8_regs), > + sizeof(lis3_wai12_regs)), GFP_KERNEL); > + -> + if (dev->reg_cache == NULL) { +> + if (dev->reg_cache = NULL) { > + printk(KERN_ERR DRIVER_NAME "out of memory\n"); > + return -ENOMEM; > + } @@ -191,7 +191,7 @@ Acked-by: Eric Piel <eric.piel@tremplin-utc.net> > +static int lis3_reg_ctrl(struct lis3lv02d *lis3, bool state) > +{ > + int ret; -> + if (state == LIS3_REG_OFF) { +> + if (state = LIS3_REG_OFF) { > + ret = regulator_bulk_disable(ARRAY_SIZE(lis3->regulators), > + lis3->regulators); > + } else { @@ -297,3 +297,9 @@ Acked-by: Eric Piel <eric.piel@tremplin-utc.net> > int (*setup_resources)(void); > int (*release_resources)(void); > /* Limits for selftest are specified in chip data sheet */ + + +_______________________________________________ +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 7b0f624..1e16c18 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01287748654-2626-1-git-send-email-samu.p.onkalo@nokia.com\0" "ref\01287748654-2626-3-git-send-email-samu.p.onkalo@nokia.com\0" "From\0\303\211ric Piel <eric.piel@tremplin-utc.net>\0" - "Subject\0Re: [PATCH 02/12] hwmon: lis3: regulator control\0" - "Date\0Sun, 24 Oct 2010 16:59:26 +0200\0" + "Subject\0Re: [lm-sensors] [PATCH 02/12] hwmon: lis3: regulator control\0" + "Date\0Sun, 24 Oct 2010 14:59:26 +0000\0" "To\0Samu Onkalo <samu.p.onkalo@nokia.com>\0" "Cc\0khali@linux-fr.org" guenter.roeck@ericsson.com @@ -132,7 +132,7 @@ "> +\tdev->reg_cache = kzalloc(max(sizeof(lis3_wai8_regs),\n" "> +\t\t\t\t sizeof(lis3_wai12_regs)), GFP_KERNEL);\n" "> +\n" - "> +\tif (dev->reg_cache == NULL) {\n" + "> +\tif (dev->reg_cache = NULL) {\n" "> +\t\tprintk(KERN_ERR DRIVER_NAME \"out of memory\\n\");\n" "> +\t\treturn -ENOMEM;\n" "> +\t}\n" @@ -205,7 +205,7 @@ "> +static int lis3_reg_ctrl(struct lis3lv02d *lis3, bool state)\n" "> +{\n" "> +\tint ret;\n" - "> +\tif (state == LIS3_REG_OFF) {\n" + "> +\tif (state = LIS3_REG_OFF) {\n" "> +\t\tret = regulator_bulk_disable(ARRAY_SIZE(lis3->regulators),\n" "> +\t\t\t\t\tlis3->regulators);\n" "> +\t} else {\n" @@ -310,6 +310,12 @@ "> +\tu16 driver_features;\n" "> \tint (*setup_resources)(void);\n" "> \tint (*release_resources)(void);\n" - "> \t/* Limits for selftest are specified in chip data sheet */" + "> \t/* Limits for selftest are specified in chip data sheet */\n" + "\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -cf463e767f42dc799436c57f54b65b23a083ec40d12abcd31299290a439397cc +614c76d4a145f2a29614c77e1335efe13d642d083f04b1957d5c0388e7ebf1af
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.