Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2548288ybg; Thu, 24 Oct 2019 11:20:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUVcuV6rGDChbm2S8wspjPI1HtYbh03dX9w5BhhiFNRh94KGH18MOJqr9Ki4lzKrf4xdE7 X-Received: by 2002:a17:906:680c:: with SMTP id k12mr20983352ejr.118.1571941209932; Thu, 24 Oct 2019 11:20:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571941209; cv=pass; d=google.com; s=arc-20160816; b=oMOV4wtFY70vF8K8+ivIuyHFXpFlSBnzQo/El2g4m0lrruytlZxpYP+Qbv+J51HbOV /dcgCsCfHjpM1UV6Uu18FQhOw/QYk/jJnHdfMxlncPU0BdG9319EZqFd07HxyiVyHJHQ TspiJVy2KaXN/uyg4TcFHpS5wRA8dL8TzP+7DkiVh6QMDpQC0rNqjCrI0uhm5Sqdruvz PWFVW274Q2OaoG9zNU0FopqgcrQd+y0PmoRiwoOPOHfa3tySZq/Pzegc5rQMO4U5Mj2B 9KwS7Rnb5LPOJrZWrv7uofBzMQm3791FqKAVaCIWcV8iqrAcN/qi2hE8a+CMczswSy/z r6+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=MpUR/TJpA8vH0BJaKgkubRVaTuVale/Vr419kvfeZ9c=; b=s52w8r4ncFol1xbLrnuTDQS7WWbPcC6FnZTIXf0v3wRwQciYLxkk2a+4dlE8/Y39Zg Wns96qHGrEzhSUX8c++RoOCiGISlZZeA6hLPVtFGPvH6uZDkbPWpk4WicD90Hr93yAcm UKmfhPydIpYZBaw5TCsFaXdr2Qp9Nd+0LMioU8Zy+llWDIGU/G1zrK5VkzAXeOK1X6n3 0jHgT8FGkH6LJyD2duoEOH4gQVg0kBeJiDo5eWAbcE+2+XgPf/otIa/CcwlSHfZqTYk0 HiTlP5Mkdx4o5ouelsoaRWSaUXZB4QHHiphmSBKG2aI0TCKJl0KCOVzaHprj2zlp+GEA TbmQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=HW+p14ZX; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r10si17428498edh.358.2019.10.24.11.19.45; Thu, 24 Oct 2019 11:20:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=HW+p14ZX; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437011AbfJXCap (ORCPT + 99 others); Wed, 23 Oct 2019 22:30:45 -0400 Received: from mail-eopbgr10058.outbound.protection.outlook.com ([40.107.1.58]:19429 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2437004AbfJXCap (ORCPT ); Wed, 23 Oct 2019 22:30:45 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NxcWD94SnfCYVf/CgR26cioo8LjmXfS/hRH7+OfxegMSkDmOPJbDY5Ol13i/EPASE2XeFJGzjGMAlqSWt54f0tlyr5K2Swos+sihnkHrZRWz9Ojs8PDLpVwSPc6JXt4OWazGB8FUiL2JUCwyuydIJzx2xo26xEvG51Oi7mVQT1WmcSfEthb3bhwcfS1cIDTTVOKb8LqecFv1driBPiOxwAREkj8fmlhsGjoCQAU3xel4/0P4kHPmuyX7XBPxZG+d8lFZ68/j1ed1Zz8wpx2SDA+h6nbyHAmgfEwqhLCDV99aHIVjRyKk4JdDDekfAJjZeQqv5vc3vKaWJ4TTXZ+DPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MpUR/TJpA8vH0BJaKgkubRVaTuVale/Vr419kvfeZ9c=; b=DTvq6ZdTgIGiotxHNfLqsUad5nmbYHu+nVPkhw/W6D1d/2RiMYK70TXwhPfe8XXbLanlaMREo4afdSomy6EYm33bGhMmucg9XVcbjzJ7UENHDCJ1CpmAPDM3bmQvWdz7OPlkgKZ97D1y7R4iqW7oaWh9l7dlG1LZAEuasN46biDgSc0HJhiYb9BB5idIzNTGOPnYCQ0yZgba9uIlu/4SZL+tQyf81bh16Vf+3x5oXMlyJ03KGWqtORfLzrrn5XJ7l/4QP+P2PuJcHVr7mcT/uuoHVUTxFsU8p2lR8Oqj4FYPftWlOJGYMwFUK+yQIWd06bz4utmoQwMzWQE091eR+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MpUR/TJpA8vH0BJaKgkubRVaTuVale/Vr419kvfeZ9c=; b=HW+p14ZXu+JFbd1kFhnBOsz2pqY08OsdWS9+ziPVE4ShPC+Q3M5vzX98AS+3mL4j1ghOfTEncXpQle6Slagq4hR6M4LT3P6qF76H3TxbsszrgzpTACpJfY42wmr1UvDL+FIdv0UKhCMZGkyqdpo1Ok0R2YIh3P2h8ez3YIp11HY= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5315.eurprd04.prod.outlook.com (20.176.215.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.21; Thu, 24 Oct 2019 02:30:41 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::843c:e722:27cb:74e1]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::843c:e722:27cb:74e1%5]) with mapi id 15.20.2347.030; Thu, 24 Oct 2019 02:30:41 +0000 From: Peng Fan To: "mturquette@baylibre.com" , "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" CC: "kernel@pengutronix.de" , dl-linux-imx , Anson Huang , Jacky Bai , Abel Vesa , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Leonard Crestez , Peng Fan Subject: [PATCH 0/3] clk: imx: imx6x: use imx_obtain_fixed_clk_hw Thread-Topic: [PATCH 0/3] clk: imx: imx6x: use imx_obtain_fixed_clk_hw Thread-Index: AQHVihMHWm1jS7cCrE+ghlbtE9L0Lw== Date: Thu, 24 Oct 2019 02:30:41 +0000 Message-ID: <1571884049-29263-1-git-send-email-peng.fan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0200.apcprd02.prod.outlook.com (2603:1096:201:20::12) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d5865d33-ab57-4681-a5e6-08d7582a2a0d x-ms-traffictypediagnostic: AM0PR04MB5315:|AM0PR04MB5315: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2582; x-forefront-prvs: 0200DDA8BE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(366004)(346002)(396003)(39860400002)(376002)(199004)(189003)(256004)(99286004)(6512007)(52116002)(3846002)(4326008)(476003)(8936002)(2906002)(5660300002)(6436002)(50226002)(6116002)(6506007)(486006)(7736002)(71190400001)(71200400001)(386003)(305945005)(4744005)(86362001)(81166006)(81156014)(2201001)(8676002)(66066001)(110136005)(26005)(6486002)(54906003)(2616005)(102836004)(478600001)(316002)(66446008)(2501003)(66556008)(66476007)(64756008)(44832011)(186003)(66946007)(25786009)(36756003)(14454004)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5315;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tEhVrAMk2YTDH32Hqq8YV5zv47S/fMiofaIa/EiqoJ84qBJ0HTG4NE6N+Fn5F2LD5k71YA8MdAtgpSW+R3I7mxLUutM+XZuSAJyrBslbtpH3XlFcnaMYV5jRvAPv6gCS2KozOkx/k6xQB703aSdlZ50+rVXY8vb21IgfzBFD3avnBPlnbHKoEEEKy0zJT9Gn//BqeNaBsByqbz8Ou8X977EiTGVFyGScIRQlUC/t5acamz0LyqAbgGZXpkmfAPQ7mJOlwb/84hjKt80GcNmcHpaj/ArAcuIpXuku26lQdBu8JltIx4+uhCITsx8IJLfsurYdE80w06ZI4h7R+AmI3X2m5c9Sk5as760vamaPYi7zGCMmV1pHDmZFc82rHYQOYiU2jkry/YkUbP+20CsQO7FrgtjN47DnbC9hg/KhzWiOoMUukfNBTn+655l07Yyg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5865d33-ab57-4681-a5e6-08d7582a2a0d X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2019 02:30:41.7470 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ye0ujWp2WZJNmsRyna+wL+xBppzx+JOFFNXnnDisAF4grsPNmJSat3V48C8WbE1VofezWO4hVReM0Sd/BJNTgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5315 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan This is to use imx_obtain_fixed_clk_hw to replace __clk_get_hw(of_clk_get_by_name(node, "name")) to simplify code. Peng Fan (3): clk: imx: imx6sll: use imx_obtain_fixed_clk_hw to simplify code clk: imx: imx6sx: use imx_obtain_fixed_clk_hw to simplify code clk: imx: imx6ul: use imx_obtain_fixed_clk_hw to simplify code drivers/clk/imx/clk-imx6sll.c | 8 ++++---- drivers/clk/imx/clk-imx6sx.c | 12 ++++++------ drivers/clk/imx/clk-imx6ul.c | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) --=20 2.16.4