Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754865AbbGGEGW (ORCPT ); Tue, 7 Jul 2015 00:06:22 -0400 Received: from mail-bn1on0055.outbound.protection.outlook.com ([157.56.110.55]:2944 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754055AbbGGEF2 (ORCPT ); Tue, 7 Jul 2015 00:05:28 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Authentication-Results: codeaurora.org; dkim=none (message not signed) header.d=none; From: To: , CC: , , , Dinh Nguyen Subject: [PATCHv2 3/6] clk: keystone: make use of of_clk_parent_fill helper function Date: Mon, 6 Jul 2015 22:59:03 -0500 Message-ID: <1436241546-16731-4-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1436241546-16731-1-git-send-email-dinguyen@opensource.altera.com> References: <1436241546-16731-1-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BLUPR01CA060.prod.exchangelabs.com (25.160.23.50) To CY1PR03MB1375.namprd03.prod.outlook.com (25.163.16.29) X-Microsoft-Exchange-Diagnostics-untrusted: 1;CY1PR03MB1375;2:B1Mv/bbEi1PXm0U27zeDzBiI3xY6ybuOMu43GZfWpXzHS1lmmOc4Fz61j5CEjzhZ;3:hzJA7p27GepY3DoAn9UdngpKNaQAvbRpvCoki+1JkxSoZfpx7EIF4aCtc7o+PC3WYM9Y0YmiA0uTWA1gD8UyQimby6djk//mPI2B9A9bCh1tb/ELuYuVmERfGvlPMSL1Wlie0KQsAj1foqVLizh7dg==;25:Oayb2qsMWY9z6G59BTEgmioq/c8R4/VK2Yv6UW8vfeVc0Nf51AUNgMDY8gSACZDQWxDiby6m+odzAzsbUwr2RvUuMPxN/u54LVoWZx2YcrGQ59rXseGt0fp/1LYmOkp5YTBjkljoubOQabQe9vVhC0GjtUMusEMGHeUPb9rhSZ1V5TU1l7hEePWzmEpDtyaPVb+PRSQLATIvDUZ500dkNaA6vxbH8zjBBiKCbRoxfLYMfpGfiptgRAQbveKNXCHtvBSqvelb1M2l1cuRBLGmbw==;20:+QlgJonM3DmYcBsSBTyA5l4FHC0uykJhUfucElAxs8YIo4wOuGyJF7LaOqSdmHCFttnqDBdLYR9acJs5yP62fgN+kS5Or7L5wUmwNXCRkV1BooqMafRhB0h2jGrag69sSjnbzA/u9oWSD7FxSCQfxz/G88xv/UWzqNLT2rhkLR4= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1375;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB230; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:CY1PR03MB1375;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1375;BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BLUPR03MB230;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB230; X-Microsoft-Exchange-Diagnostics-untrusted: 1;CY1PR03MB1375;4:t1AwgI3sm0+cEg51nceKym6pv2hgYHKnP979SOCT0s5swSafPa0oEa1kCOYVEy82sL4b9akLj3fBrFXbhc0NXoa/cW3a5qhaQn0QBhH6CzabKGGRAWQF8wc0guDHmangs9zgnUcmgqpsXVGnPTqWkKvQiy32+/56JdlnVY8z71D85qsZerNZvve1Oykn9nQl6RqkpvC6tM4SYO/yUb/VROCh+L4CE4aZuKK7O59mUMLVfEYLoQGaZ6Qdd9aOgQ0ul07swjvmgVcSA/tMhDWmo8bgfcjXzmOXy7cUurkxX3w= X-Forefront-PRVS: 0630013541 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(6009001)(19580395003)(92566002)(189998001)(66066001)(77096005)(122386002)(62966003)(40100003)(87976001)(5003940100001)(5001770100001)(50466002)(77156002)(42186005)(50226001)(50986999)(5001960100002)(5001920100001)(86152002)(2950100001)(76176999)(19580405001)(46102003)(33646002)(107886002)(53416004)(229853001)(47776003)(86362001)(48376002)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR03MB1375;H:linux-builds1.altera.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: 1;CY1PR03MB1375;23:RMN6nAN6Ctqr264EDHJXHA9zjjbuHH6OPIgvOhMYsw++yUlKzS/btP7mvfyqDTUeLAJfpxKDeWWcMoWRVyuJUswgyB1pZTPuG1YS1p2KmNODorOLfvSNhZFHyuYEOacGI57ZJfvcz2cs7epwPiWIa6OtCIYysXz8pPrc22Hsm/TzIi/DQYlsTPdYFjvex/FuZajUUzIIpTXTBcnI0N5/lyOgiCGX/8zMwB8wIVCemf/tfa4hJzQcva6IVBWefeOF/ejd0F1yvQHZtmxZnsZklts0VD4/+DU40t3xoqk0bJKW944TyM9SEUL08P2LVI6METgoDXBJgPxglWz4HkBnM9Gio5OrZuokeITw6QfZ11+uQhwrFwTg+e0YKKLRMiKMZJCkjI2eU883CS17/uFGratWbg3A9sSEoxMokSYFiJ71Fe5Rsu121RQFMDGX39CVYbE7V+1ajFnznu3jxx6NDNED2tNkXvYIay3fAzzDQgBqbBysxY3jxR1Y0qPxiluLhxrx6/OQPws4PUbz8Zn6HzuCMt04WATmq3f+9MDOz+7q7ExexYn5gUUH3/QgCaoafGkWg2xslhIURoShSpMSM0At9ZMLMg3+3yvsnBtOUCOulc8UuiH/qd7t2lcxvIAOdWYn7sJLwwWNElvCGNJTcRvRba8Gkn5LOnE/pDPwy4M9MQQj1K8uAG4Sh+TGeq3QDTTUZICm9KX5nK5PkqyOhRiRqF4/Xu8jeL1EOi89fO1pW78fJ9h8IXi7z3vFdFRQ6tmR8D5dtNtKPhXgZHBlzTd/DgeOBTvZO+Hrf9RQiin8ysUamB2dPwWVNXmw+TZEwl/3ATQRdWvXL+Mx5InHIGhc55d5bXCAff/XAUhko8iW/MVEF02Ovm5U0dceUJmFi2LbJbGmEEXa0JthWT0S3g== X-Microsoft-Exchange-Diagnostics-untrusted: 1;CY1PR03MB1375;5:PUWN4PvCFMatdI5ZKfH0Gq3mVfkXi65xfEh10SUjOEjHE52NYI5WGS96yoJ2Ae0bHOTDlauwnZQ78nUcTY3rrAm0rNVDhoqXmSVuxEeqY4USDjwzLokx/pD7LHE63n/M6nnrGiHRjOM5X4uqnMl3pQ==;24:JbTHgYZ/Nw6M94IbWCMMGWwYRKtfQSaHCsVPC9vU0qzwNs2NBFLX044Zzpet39ux6R2PMxF3U18UDjsg/UH0ejY1da9SDOCz5YBrDxetYX4=;20:wLL7ubp6ZAKu151edCspJ6bciFTHS96KHxzWqhE7brco266w5x4yLRZ8yrCqyz4fpmwU+hykY07cGd5xskTpqPbx8O/xW5HDggTPy/fBJlsJ/GW6bMzuskZbyYuf2T+0RDTF2NowBihC+wopy3/JWwMPnj97gnb6ZfidY1YIDKU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1375 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD013.protection.gbl X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD013;1:EezBDXbxb79MOELM4mRKF1jbJU1F8zIDVnyabTm39Dt79w9q30ID0SfumIM+/HSsKtN0oxNxe3FncDHrJq69gWqRHDpP2yydZLzFyYY3Mg+j29DTVDJt30B1pqYGpiC3Fe1uVf/Igf9w/GLEdp61Vfe7jq30k05I2hK4gVHMaYmTXFt7LdZv8ypFrzfqRSnkBcdr40RXlaoj33bwkhc4Iyg5xdIB7FgwBBaVasPiYd3XZPcFvA8EKrA0T0LlVopf0IL9fWxwGJKfdT9V9lziYd8beRHpos2Q+o3VeR1AVhH/Ri8DVrTabJ2HpHtCa2RH X-Forefront-Antispam-Report: CIP:66.35.236.236;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(339900001)(19580395003)(2950100001)(77096005)(105606002)(106466001)(229853001)(50226001)(5003940100001)(16796002)(85426001)(19580405001)(5001960100002)(62966003)(66066001)(5001770100001)(6806004)(189998001)(53416004)(107886002)(86152002)(47776003)(50466002)(122386002)(46102003)(50986999)(87936001)(48376002)(76176999)(86362001)(40100003)(92566002)(33646002)(77156002)(7099028)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB230;H:sj-itexedge04.altera.priv.altera.com;FPR:;SPF:Fail;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB230;2:9w2e52osZVmRY8gd1uohbgU/Nvn8TWvONvQTOoAIbZ7Ydhf8ysJG+a6bpF8+5O1d;3:iCgO3bipJ8v5VSGZpng8FT9vCKXyqHfKih66IBeHfIC2UsKrBatM5g/IeyjU65W/JtzYqqT4u2OEBd/AhO9XnaS3J3uJcut0vM6zittctPstvphyT3BZqck82D/gjOcqSbwzNU/eSnaKi47OW6rLiOem7OA0yR1Klo3RUgDNuCAi5sxp7ziaed3v77VHIiyXpf+uxkgBRziAVeMJTYGBOQecfInFALyUdQRwrKcIMzc=;25:atFGTWF8H1EqHdDTlHmUDLba1ErsSH6xiT7TFG/B3enl2sCCnU6WUt8ey39QoW3F6hWrkXEH9n4TyEAV/T5htrT9eP7l87VbTCLtyDr8q4TuczB59O3W/fvQ/KXYMzCEJOIT476BXomdeZZJkSYLe8dNiuD4Rt58LnLjB+SLrf3L3sxjUDU5B+4Ljh9bGapUEd5mEK7RFKg46EK+fZBRCgWsglGL0uBIOkBGBUj9Jbt8alqEW8zUhO0ubypWYzviTCd8ieTS5XmLyW2367rgbg==;20:ar55lkMTFHYPb8+tCxId49YJ2JXop8igOy1aSygQO3Ps0hBqownJPak8sdiHJJjESREUS6gBTkFghMq+DHfxRrT+9FEGRkyLdta2k9y5JYYcgzCo8R7JNyjEGOpnepVbRlfedaTqsWpwo/Mq7xPsNJelaDI5vBlLSe3dLUS9I84= X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB230;4:pfLhZ2CRybpLMubMb2Vt7RQLPuUDzJKb+Fa6wJ00pKHMl1IFonTaBUcnqxpjbgkRcwg4csU3Dr2+X9/glMYgQ2FdsCE9f49ybzDrjIOOhfEloSDGdG1uMti62F4ZbFIAOpITavAGUW1nuWNtfkBG3jhMGbWUxjrocdEWjDfAYMIt2y4bSrcvQLVUeMUF+7/7i34OCCoTJtkOD23SBOjBHYURqUt8dSp5PPNq2/7PkuL7h+KJzSnyc2E/Y7UhDlebPSnPo8STUlVYOjOre9mevs6ziatdwyHjmLdfQMxA8ZQ= X-Forefront-PRVS: 0630013541 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR03MB230;23:cXAEatwL91v3XPo/r3V12A78vlnI/SYoPzLWEavLQ6?= =?us-ascii?Q?dIJ9iDo2tYI2ATPADi79Hq0tO27f5Q2gL5L22uGhl9pMvfQpoqTPn7gpOBcq?= =?us-ascii?Q?fLu6bUKFsZrmEWwZOpTncUZZ+73xDwQLDP1gza2/j3Em9c23kG4kvetooYBY?= =?us-ascii?Q?7VhWZ+paUCsnN1RaqBwuS33/rBFSbnUWc846h+1sRD2NKj20ftk7kXkMDlJv?= =?us-ascii?Q?pFObdqbxfsKn7RlUEWAFlMaqsdo7EjXWRAwYnPORrdtQcvEbvrQlJbmg/sMd?= =?us-ascii?Q?XPE6CnM0hitW5Irqrj6SkdGF2p97sy/NePsyj9Rq3cMqEEwpGRhxJ4ZmDdls?= =?us-ascii?Q?yl5NrduJ2otm9DYRegW5QZoaGGfZXhl1oLj17vcq65E7WP/f7hIOQPmPsJ5E?= =?us-ascii?Q?MLr22xKzKFUeVjp5QBjsfDsFfw6OFu5Wi9qNyZLSqJ5HjQbB6JfYT5Pe/zp5?= =?us-ascii?Q?25H3H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1dvCM2X27SfnYDsM31Gk/o1KDhE7RNLRVu0BZUbzNqwL9cxZLUy/UKIVExbdQvm7toczcrPoIhNmMogExC0KOlNUgW8pTaU8s0X/clcuc/P1RTIRGnI= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2015 04:05:22.6830 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.236];Helo=[sj-itexedge04.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB230 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 32 From: Dinh Nguyen Use of_clk_parent_fill to fill in the parent clock names' array. Signed-off-by: Dinh Nguyen Acked-by: Santosh Shilimkar --- drivers/clk/keystone/pll.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/keystone/pll.c b/drivers/clk/keystone/pll.c index 4a375ea..d6ef063 100644 --- a/drivers/clk/keystone/pll.c +++ b/drivers/clk/keystone/pll.c @@ -309,8 +309,7 @@ static void __init of_pll_mux_clk_init(struct device_node *node) return; } - parents[0] = of_clk_get_parent_name(node, 0); - parents[1] = of_clk_get_parent_name(node, 1); + of_clk_parent_fill(node, parents, 2); if (!parents[0] || !parents[1]) { pr_err("%s: missing parent clocks\n", __func__); return; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/