From patchwork Tue Jul 8 12:03:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 4504521 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B7F51BEEAA for ; Tue, 8 Jul 2014 12:06:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F1640202F8 for ; Tue, 8 Jul 2014 12:06:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 19119202D1 for ; Tue, 8 Jul 2014 12:06:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X4U8C-0001Lr-N3; Tue, 08 Jul 2014 12:04:20 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X4U87-0000o1-VU for linux-arm-kernel@lists.infradead.org; Tue, 08 Jul 2014 12:04:16 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N8E00M4O6UHAY20@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 08 Jul 2014 21:03:53 +0900 (KST) X-AuditID: cbfee61a-f79e46d00000134f-13-53bbde2889a6 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E3.23.04943.82EDBB35; Tue, 08 Jul 2014 21:03:52 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N8E00C7B6UAGB70@mmp2.samsung.com>; Tue, 08 Jul 2014 21:03:52 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Kukjin Kim Subject: [PATCH] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf Date: Tue, 08 Jul 2014 14:03:37 +0200 Message-id: <2379473.Yu7PYOQ3m0@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-54-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsVy+t9jQV2Ne7uDDV6ct7HoXXCVzeJs0xt2 i02Pr7FaXN41h81ixvl9TA6sHpuX1Hv0bVnF6PF5k1wAcxSXTUpqTmZZapG+XQJXxoLZexkL +tgrJu1rZmpgPMPaxcjJISFgItHefhbKFpO4cG89WxcjF4eQwHRGiZlPb7FCOC1MEqunfGME qWITsJKY2L4KzBYRUJPoWbyVEaSIWWAGo8SGpkvMIAlhAQ+JjQ1vmUBsFgFVic2N61hAbF4B TYkVn2+AxUUFPCV2bF/JBhEXlPgx+R5YDbOAvMS+/VNZIWwtifU7jzNNYOSbhaRsFpKyWUjK FjAyr2IUTS1ILihOSs811CtOzC0uzUvXS87P3cQIDsdnUjsYVzZYHGIU4GBU4uFdcXBXsBBr YllxZe4hRgkOZiUR3i+ndgcL8aYkVlalFuXHF5XmpBYfYpTmYFES5z3Qah0oJJCeWJKanZpa kFoEk2Xi4JRqYMwTbJmUvG8Wx+eSvP6t0//V6BywYQj7v1ueSUi6Y8uKqqaZKXPa7wo0ft2/ oGbTo0kvjhgY/lLY1xrUcEHmdtJpJ/GSTR2RUuGntX9dPbhC6ISFl1DF2tTwuatVT+aaiRuZ 7/oaP/tZcORa4bfdJYXvUvS4T/Vszloe906VW2yyn41NjVKLrxJLcUaioRZzUXEiAFYXpZVD AgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140708_050416_178317_36F039C3 X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) Cc: Kyungmin Park , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Values stored in val[] are never bigger than a byte. text data bss dec hex filename 5264 4 4 5272 1498 arch/arm/mach-exynos/pmu.o.before 2992 4 4 3000 bb8 arch/arm/mach-exynos/pmu.o.after Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park --- arch/arm/mach-exynos/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index b850db4..55ff019 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -101,7 +101,7 @@ enum sys_powerdown { struct exynos_pmu_conf { void __iomem *reg; - unsigned int val[NUM_SYS_POWERDOWN]; + u8 val[NUM_SYS_POWERDOWN]; }; extern void exynos_sys_powerdown_conf(enum sys_powerdown mode);