Re: [PATCH v10 1/4] device core: add device_is_bound()

From: Greg Kroah-Hartman
Date: Sun Oct 25 2015 - 04:37:14 EST


On Wed, Oct 21, 2015 at 05:34:11PM +0200, Tomeu Vizoso wrote:
> Adds a function that tells whether a device is already bound to a
> driver.
>
> This is needed to warn when there is an attempt to change the PM domain
> of a device that has finished probing already. The reason why we want to
> enforce that is because in the general case that can cause problems and
> also that we can simplify code quite a bit if we can always assume that.
>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx>
> Reviewed-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
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/