From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752216AbbJYIhH (ORCPT ); Sun, 25 Oct 2015 04:37:07 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34019 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750740AbbJYIg7 (ORCPT ); Sun, 25 Oct 2015 04:36:59 -0400 Date: Sat, 24 Oct 2015 19:50:36 -0700 From: Greg Kroah-Hartman To: Tomeu Vizoso Cc: linux-pm@vger.kernel.org, Alan Stern , "Rafael J. Wysocki" , martyn.welch@collabora.co.uk, Ulf Hansson , linux-kernel@vger.kernel.org Subject: Re: [PATCH v10 1/4] device core: add device_is_bound() Message-ID: <20151025025036.GA25874@kroah.com> References: <1445441654-31778-1-git-send-email-tomeu.vizoso@collabora.com> <1445441654-31778-2-git-send-email-tomeu.vizoso@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445441654-31778-2-git-send-email-tomeu.vizoso@collabora.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Reviewed-by: Ulf Hansson Acked-by: Greg Kroah-Hartman