Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936160AbZFPFxY (ORCPT ); Tue, 16 Jun 2009 01:53:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760894AbZFPFu6 (ORCPT ); Tue, 16 Jun 2009 01:50:58 -0400 Received: from kroah.org ([198.145.64.141]:48312 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755637AbZFPFu5 (ORCPT ); Tue, 16 Jun 2009 01:50:57 -0400 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Dmitry Torokhov , Dmitry Torokhov , Greg Kroah-Hartman Subject: [PATCH 09/64] Driver core: fix comment for device_attach() Date: Mon, 15 Jun 2009 22:45:58 -0700 Message-Id: <1245131213-24168-9-git-send-email-gregkh@suse.de> X-Mailer: git-send-email 1.6.3.1 In-Reply-To: <20090616051351.GA23627@kroah.com> References: <20090616051351.GA23627@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1048 Lines: 31 From: Dmitry Torokhov We are looking for matching drivers, not devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/base/dd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/base/dd.c b/drivers/base/dd.c index efd00de..f010687 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -226,7 +226,7 @@ static int __device_attach(struct device_driver *drv, void *data) * pair is found, break out and return. * * Returns 1 if the device was bound to a driver; - * 0 if no matching device was found; + * 0 if no matching driver was found; * -ENODEV if the device is not registered. * * When called for a USB interface, @dev->parent->sem must be held. -- 1.6.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/