From patchwork Mon Apr 20 11:32:34 2015
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Przemyslaw Marczak
X-Patchwork-Id: 462776
X-Patchwork-Delegate: sjg@chromium.org
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Received: from theia.denx.de (theia.denx.de [85.214.87.163])
by ozlabs.org (Postfix) with ESMTP id 43A9B1400DE
for ;
Mon, 20 Apr 2015 21:33:23 +1000 (AEST)
Received: from localhost (localhost [127.0.0.1])
by theia.denx.de (Postfix) with ESMTP id D4562A743A;
Mon, 20 Apr 2015 13:33:14 +0200 (CEST)
Received: from theia.denx.de ([127.0.0.1])
by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 3yuG1WZmt060; Mon, 20 Apr 2015 13:33:14 +0200 (CEST)
Received: from theia.denx.de (localhost [127.0.0.1])
by theia.denx.de (Postfix) with ESMTP id 9A035A7437;
Mon, 20 Apr 2015 13:33:10 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
by theia.denx.de (Postfix) with ESMTP id 8A84FA7422
for ; Mon, 20 Apr 2015 13:33:05 +0200 (CEST)
Received: from theia.denx.de ([127.0.0.1])
by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id v81LPMYYCQgY for ;
Mon, 20 Apr 2015 13:33:05 +0200 (CEST)
X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5
NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)
Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com
[210.118.77.11]) by theia.denx.de (Postfix) with ESMTPS id 40868A7429
for ; Mon, 20 Apr 2015 13:33:01 +0200 (CEST)
Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245])
by mailout1.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NN30086SS2ZPQ00@mailout1.w1.samsung.com> for
u-boot@lists.denx.de; Mon, 20 Apr 2015 12:32:59 +0100 (BST)
X-AuditID: cbfec7f5-f794b6d000001495-1b-5534e3f2f5f6
Received: from eusync4.samsung.com ( [203.254.199.214])
by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id FA.27.05269.2F3E4355;
Mon, 20 Apr 2015 12:33:06 +0100 (BST)
Received: from AMDC1186.digital.local ([106.116.147.185])
by eusync4.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTPA id <0NN300LM5S2U5S70@eusync4.samsung.com>; Mon,
20 Apr 2015 12:32:59 +0100 (BST)
From: Przemyslaw Marczak
To: u-boot@lists.denx.de
Date: Mon, 20 Apr 2015 13:32:34 +0200
Message-id: <1429529554-3551-3-git-send-email-p.marczak@samsung.com>
X-Mailer: git-send-email 1.9.1
In-reply-to: <1429529554-3551-1-git-send-email-p.marczak@samsung.com>
References:
<1429529554-3551-1-git-send-email-p.marczak@samsung.com>
X-Brightmail-Tracker:
H4sIAAAAAAAAA+NgFmpjluLIzCtJLcpLzFFi42I5/e/4Nd1Pj01CDSa+k7J483Azo8WOyzdY
LL5t2cZo8XZvJ7vF3nufGR1YPWY3XGTxOHtnB6NH35ZVjB4npn9nCWCJ4rJJSc3JLEst0rdL
4Mr4tPwLU8EX7ooTp8+yNDBe5+xi5OSQEDCR2NBylR3CFpO4cG89WxcjF4eQwFJGiY2bZzOD
JIQEmpkkDjxQBrHZBAwk9lw6AxYXEZCQ+NV/lRGkgVlgLaPEtFl9YJOEBfwkGqfNB0pwcLAI
qEo8vuQGEuYVcJGYfO88M8QyOYmTxyazgticAq4SuzffZoVY3MsosXvjJ5YJjLwLGBlWMYqm
liYXFCel5xrpFSfmFpfmpesl5+duYoSEztcdjEuPWR1iFOBgVOLhXbDCJFSINbGsuDL3EKME
B7OSCO/bK0Ah3pTEyqrUovz4otKc1OJDjNIcLErivDN3vQ8REkhPLEnNTk0tSC2CyTJxcEo1
MFZVV2ts+fbvZH7/2R3pcQf9fXxaZk9zS8649yvZUUNotXLBTp/7wv/lVl6+48B6Zg1n7/Pp
07etr63JnulclnBGbLG+aaVwT/ahRy4xJ+provW/b3wXvGf3FPN/y5g/yYVO5Ldhfqwae0Tw
00/FKwvdZz+4prCgNV/m4rR77zZrdGtK/7y5+5MSS3FGoqEWc1FxIgCfPQpNGQIAAA==
Cc: Przemyslaw Marczak
Subject: [U-Boot] [PATCH V5 3/3] dm: core: precise comments for get/find
device by name
X-BeenThere: u-boot@lists.denx.de
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: U-Boot discussion
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
MIME-Version: 1.0
Errors-To: u-boot-bounces@lists.denx.de
Sender: "U-Boot"
The functions:
- uclass_find_device_by_name()
- uclass_get_device_by_name()
searches the required device for the exactly given name.
This patch, presice this fact for both function's comments.
Signed-off-by: Przemyslaw Marczak
Cc: Simon Glass
Acked-by: Simon Glass
---
Canges V5:
-new patch
---
include/dm/uclass-internal.h | 2 +-
include/dm/uclass.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/dm/uclass-internal.h b/include/dm/uclass-internal.h
index 153f2a7..a9b2fbe 100644
--- a/include/dm/uclass-internal.h
+++ b/include/dm/uclass-internal.h
@@ -63,7 +63,7 @@ int uclass_find_next_device(struct udevice **devp);
/**
* uclass_find_device_by_name() - Find uclass device based on ID and name
*
- * This searches for a device with the given name.
+ * This searches for a device with the exactly given name.
*
* The device is NOT probed, it is merely returned.
*
diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 66e0ea5..4cfc0df 100644
--- a/include/dm/uclass.h
+++ b/include/dm/uclass.h
@@ -132,7 +132,7 @@ int uclass_get_device(enum uclass_id id, int index, struct udevice **devp);
/**
* uclass_get_device_by_name() - Get a uclass device by it's name
*
- * This searches the devices in the uclass for one with the given name.
+ * This searches the devices in the uclass for one with the exactly given name.
*
* The device is probed to activate it ready for use.
*