From patchwork Sun Sep 28 13:52:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 394182 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 5382C1400EA for ; Sun, 28 Sep 2014 23:53:26 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E89954B639; Sun, 28 Sep 2014 15:53:08 +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 M2+ZPAl+AmdD; Sun, 28 Sep 2014 15:53:08 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 320764B65B; Sun, 28 Sep 2014 15:53:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 125AE4B614 for ; Sun, 28 Sep 2014 15:52:53 +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 S74ssFdGvVAk for ; Sun, 28 Sep 2014 15:52:52 +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 mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by theia.denx.de (Postfix) with ESMTPS id 3E9964B612 for ; Sun, 28 Sep 2014 15:52:47 +0200 (CEST) Received: by mail-pd0-f171.google.com with SMTP id y13so15411122pdi.16 for ; Sun, 28 Sep 2014 06:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=mouOXzQp09etAabKAakflAWR5EbaZhYrjY9vymLuIHk=; b=IEpqDqd9YopAkMYn9QeBavQAKqYCX0Muu8eywddxIeS0mzmgyreWgYUlWCDjvhVDWg vGtFo/e+un/K3rKBBFjc8VeqXQq4JrJRazDB/iElO47DWnaVCygM3D6UhAlueF2OvGKn ZSqeZG+NZtQoaFSJvvVFazBMgiXiE7YBg9lJnLs+ArXUn+ix8WkqcxYxNYb9xLpmLkWY LErDQwHDcis2qU0n0zN7lohbmzx5cRif5lzpCb8yY9T8UMv0Ae4HB3uSQrzofa6VXA+0 hfHuD/uX0xLjkDmgHpWmYoDp9eJEByPEpp7iUTGY4iJQq8bVG9xGh1xZRj2nMtIECnKF xLBA== X-Received: by 10.66.66.101 with SMTP id e5mr51851805pat.100.1411912366429; Sun, 28 Sep 2014 06:52:46 -0700 (PDT) Received: from oscar.sesame (112.136.125.45.er.eaccess.ne.jp. [112.136.125.45]) by mx.google.com with ESMTPSA id pw3sm9366476pdb.91.2014.09.28.06.52.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Sep 2014 06:52:45 -0700 (PDT) From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sun, 28 Sep 2014 22:52:24 +0900 Message-Id: <1411912347-13642-2-git-send-email-yamada.m@jp.panasonic.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1411912347-13642-1-git-send-email-yamada.m@jp.panasonic.com> References: <1411912347-13642-1-git-send-email-yamada.m@jp.panasonic.com> Subject: [U-Boot] [PATCH 1/4] dm: fix comments X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The struct udevice stands for a device, not a driver. The driver_info.name is a driver's name, which is referenced to bind devices. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- include/dm/lists.h | 4 ++-- include/dm/platdata.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/dm/lists.h b/include/dm/lists.h index 2356895..704e33e 100644 --- a/include/dm/lists.h +++ b/include/dm/lists.h @@ -38,7 +38,7 @@ struct uclass_driver *lists_uclass_lookup(enum uclass_id id); * This searches the U_BOOT_DEVICE() structures and creates new devices for * each one. The devices will have @parent as their parent. * - * @parent: parent driver (root) + * @parent: parent device (root) * @early_only: If true, bind only drivers with the DM_INIT_F flag. If false * bind all drivers. */ @@ -50,7 +50,7 @@ int lists_bind_drivers(struct udevice *parent, bool pre_reloc_only); * This creates a new device bound to the given device tree node, with * @parent as its parent. * - * @parent: parent driver (root) + * @parent: parent device (root) * @blob: device tree blob * @offset: offset of this device tree node * @devp: if non-NULL, returns a pointer to the bound device diff --git a/include/dm/platdata.h b/include/dm/platdata.h index 2bc8b14..7716f19 100644 --- a/include/dm/platdata.h +++ b/include/dm/platdata.h @@ -14,7 +14,7 @@ /** * struct driver_info - Information required to instantiate a device * - * @name: Device name + * @name: Driver name * @platdata: Driver-specific platform data */ struct driver_info {