From patchwork Tue Sep 29 05:32:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 523723 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 1DB3F14029C for ; Tue, 29 Sep 2015 15:32:25 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=TelkL3Gz; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1C3BC4B8A9; Tue, 29 Sep 2015 07:32:21 +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 JCfPy3ceEq7S; Tue, 29 Sep 2015 07:32:20 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AC0B64B8A1; Tue, 29 Sep 2015 07:32:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 872864B8A7 for ; Tue, 29 Sep 2015 07:32:17 +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 dgpgEydkEjv0 for ; Tue, 29 Sep 2015 07:32:17 +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-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by theia.denx.de (Postfix) with ESMTPS id 0F26F4B8A5 for ; Tue, 29 Sep 2015 07:32:14 +0200 (CEST) Received: by igbni9 with SMTP id ni9so65799434igb.0 for ; Mon, 28 Sep 2015 22:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=agugwbNRO37YujVY1QZQjaQqQSyDe/MS8qhemKyOMyo=; b=TelkL3GzDC7iTeo3CxCkJED2LcVOgJcRvnB48zPF9GaVQnmIuvEyIVFHsiCrbsnaYX cSWOtfBDgFnyLnwEq2aK8UcjIUR5X7atMc9fY0LsSA8SZW1adH3jiSxCGYugd6DTulKY WkYDTiC1syF28s0SYO74zQXusfbr9igVYlgNgl9cQRAXSwSKd/OzEPiPcPNdL52qRf4n fE7JBaRtIXnpyTsdjg6/ddDIuB8ifnxdIwFbN3PXYG7tuiVw1egGZPTD+OfbpiSK7Sgm Kij1qDlaBzTEawcIGlyg+c/cyQAVe7oyDVzyPciQAc/z/jkISrgQLlbvW0+kK07iaZVz /PZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=agugwbNRO37YujVY1QZQjaQqQSyDe/MS8qhemKyOMyo=; b=VIGvdrgPbaG04/W6fzd7f9y4jgYBNcWZ17Tqr/fT9W/CC+WYiRCRtoqQwoF+q1Em4p EylRTnQkET3P7nUqV8TrInQJKXjwu98uP5fucy4JS5w5LqIVIlSTNRn+LsNiUeQY6UcC Djp7lxkA0mTwlBt5o1DJXv1mK29XOKyMJtNkdT9qf7ycH1ahjgGbH9O+3ls1P0/60x27 4CIHikZKvU6l8iwqlkcOb9+qJ1nnZPrO/4TDf7eh6gD0kFzvdASTfw9GIitZwdB4fU3B YmpQIuY6sW3210arty/wyDDOXJOABF0XXQRwbqxNIJ6lNGWupvvaYEmFPgKW0cAiJpul cLYA== X-Gm-Message-State: ALoCoQlZWXQtrNb/0PKv3vcvZ47PKKxoGwfZuX+qo+CSFLDX5Xu3WygndL+RUP/XtXrT5qfgiPrB X-Received: by 10.50.141.136 with SMTP id ro8mr21335167igb.11.1443504732682; Mon, 28 Sep 2015 22:32:12 -0700 (PDT) Received: from kaki.bld.corp.google.com ([2620:0:1005:1100:d9e9:da09:4cb6:ca92]) by smtp.gmail.com with ESMTPSA id m25sm10354721iod.32.2015.09.28.22.32.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Sep 2015 22:32:10 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 27E91220C45; Mon, 28 Sep 2015 23:32:09 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 28 Sep 2015 23:32:03 -0600 Message-Id: <1443504726-17773-3-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 In-Reply-To: <1443504726-17773-1-git-send-email-sjg@chromium.org> References: <1443504726-17773-1-git-send-email-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH 3/6] dm: core: Fix device flag whitespace 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" Line up the flag values in the code for easier readability. Signed-off-by: Simon Glass --- include/dm/device.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/dm/device.h b/include/dm/device.h index e09f897..286a702 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -21,13 +21,13 @@ struct driver_info; /* Driver is active (probed). Cleared when it is removed */ -#define DM_FLAG_ACTIVATED (1 << 0) +#define DM_FLAG_ACTIVATED (1 << 0) /* DM is responsible for allocating and freeing platdata */ -#define DM_FLAG_ALLOC_PDATA (1 << 1) +#define DM_FLAG_ALLOC_PDATA (1 << 1) /* DM should init this device prior to relocation */ -#define DM_FLAG_PRE_RELOC (1 << 2) +#define DM_FLAG_PRE_RELOC (1 << 2) /* DM is responsible for allocating and freeing parent_platdata */ #define DM_FLAG_ALLOC_PARENT_PDATA (1 << 3) @@ -36,10 +36,10 @@ struct driver_info; #define DM_FLAG_ALLOC_UCLASS_PDATA (1 << 4) /* Allocate driver private data on a DMA boundary */ -#define DM_FLAG_ALLOC_PRIV_DMA (1 << 5) +#define DM_FLAG_ALLOC_PRIV_DMA (1 << 5) /* Device is bound */ -#define DM_FLAG_BOUND (1 << 6) +#define DM_FLAG_BOUND (1 << 6) /** * struct udevice - An instance of a driver