From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933845AbbIDS4J (ORCPT ); Fri, 4 Sep 2015 14:56:09 -0400 Received: from mail.sf-mail.de ([78.47.74.12]:37230 "EHLO mail.sf-mail.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934112AbbIDS4A (ORCPT ); Fri, 4 Sep 2015 14:56:00 -0400 X-Greylist: delayed 400 seconds by postgrey-1.27 at vger.kernel.org; Fri, 04 Sep 2015 14:55:59 EDT From: Rolf Eike Beer To: LKML Cc: Trivial patch monkey Subject: [Doc] class_find_device: fix reference to argument "match" Date: Fri, 04 Sep 2015 20:49:14 +0200 Message-ID: <4056242.tyeAeYsqSz@caliban.sf-tec.de> User-Agent: KMail/4.14.10 (Linux/4.1.6-1.g9dbe563-desktop; KDE/4.14.10; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no argument "fn". Signed-off-by: Rolf Eike Beer --- drivers/base/class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/class.c b/drivers/base/class.c index 6e81088..71059e3 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c @@ -406,7 +406,7 @@ EXPORT_SYMBOL_GPL(class_for_each_device); * * Note, you will need to drop the reference with put_device() after use. * - * @fn is allowed to do anything including calling back into class + * @match is allowed to do anything including calling back into class * code. There's no locking restriction. */ struct device *class_find_device(struct class *class, struct device *start, -- 2.5.1