Re: [PATCH v2 18/23] gpio: sysfs: clean up gpiod_export_link locking

From: Linus Walleij
Date: Tue May 12 2015 - 04:40:42 EST


On Mon, May 4, 2015 at 5:10 PM, Johan Hovold <johan@xxxxxxxxxx> wrote:

> Drop unnecessary locking from gpiod_export_link. If the class device has
> not already been unregistered, class_find_device returns the ref-counted
> class device so there's no need for locking.
>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
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/