Re: [PATCH 1/2] power: bq20z75: support external notification

From: Anton Vorontsov
Date: Tue May 24 2011 - 14:58:13 EST


On Thu, May 19, 2011 at 04:00:03PM -0700, Rhyland Klein wrote:
[...]
> + INIT_DELAYED_WORK(&bq20z75_device->work, bq20z75_delayed_work);
> +
> + bq20z75_device->enable_detection = true;

Um... I don't follow this part.

Especially considerting that the next patch just removes this line,
but says that it "enables detection after registering". Hm.

It says "need to enable detection" and removes "enable_detection = true".

Could you explain what's going on here? :-)

Thanks,

--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/