Re: [PULL REQUEST] i2c for 3.13

From: Linus Torvalds
Date: Mon Nov 18 2013 - 18:46:40 EST


On Mon, Nov 18, 2013 at 11:38 AM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
>
> here is the pull request from the i2c subsystem for 3.13:

So while resolving some fairly trivial conflicts here, I noticed that
commit a76e9bd89ae7 ("i2c: attach/detach I2C client device to the ACPI
power domain") that I got earlier through the ACPI/PM tree calls
acpi_dev_pm_detach() even when the device "->remove()" function fails.
But it only sets clientdata to NULL if it succeeds.

That looks a bit odd.

I didn't try to fix it, though. I just thought I'd point out the oddity.

Linus
--
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/