From patchwork Mon Nov 4 10:11:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 11225325 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A75E314E5 for ; Mon, 4 Nov 2019 10:11:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7A4A62184C for ; Mon, 4 Nov 2019 10:11:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TDcgDlp8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="B0eLz3pe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A4A62184C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uAicUFcZHoypnV4+zW0XXImqkgDTOZbQ23pyKgmgToQ=; b=TDcgDlp8aYtO9M /j9IZ8r11zqNSi4WVpg8OfP/HDOT/DZ0fLQNQZEi9Bod5HdmuTV1ZgP6k2Pt9JyThwT2ZeB45mPrF pHlnrnaOKfys4l6umbikQZ1XwDkqFwd4tvBi4vz+hRW5gLnpGsTp9ToHUMpYwG0kFlyDfi4f9AA9C UDaBIQMUDqw/EBh8YHy2lkanCdeIZolMBEQgJvFVlXUA2AlvzHS4XD+bNiC8uU3ADuBiPgegZTtoJ V6UGBu5ompviH/zJhEoskDTC0NUIxrBoQBuwm5PD1qW6lbLLuc77o84LXmJvkHdyPM9QPZ+gZmLsU o6Sd9mgr0RCIqAsJwsIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRZKm-0004AW-5h; Mon, 04 Nov 2019 10:11:40 +0000 Received: from mail-db5eur03on060c.outbound.protection.outlook.com ([2a01:111:f400:fe0a::60c] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRZKj-00049b-8p for linux-arm-kernel@lists.infradead.org; Mon, 04 Nov 2019 10:11:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mlYGHsxjlZNuaTJrUaL/6LU5EwJflHPKG/56OwlLHqFWL0Gw8liSTJyMPEx3HvDrVrr/MWVAGDlT070rQSqxPn0Pm95YCb+7zC3bfkhspSBl/j+nkeZa2S94iUs4fht1sgPYmaPXffDtXD6BFHkrszmstCYWHAIk+M0J58iqNWjTBURdVhaeHX6APbywXeTOlWnPQLW+vSj02DAB6/frbGOgkRdyId8ivGUajQTMR9l3RnoApgHqQab1aLvCn0AG1tBDVkGzT2T3owqg7pe8AddgiR5qf7LxqSE+vnMvaGpOuKHSQygP5Rgv/KEIqu3hutnTolfEX21AlEX6juO66Q== 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=lXNZ4gtJEZXkyLS5eARYxheAL8v3cyxs7r5hvQT8Sko=; b=E9ouPnI41nesQ0p4iD/f8ySJovwQxRt4cvMWvNRGlcJ8Sz4mylElXhz4W1VB2ODI6pfUt4W9TIgJ88fultmpP9aIbW+ioqYcuk+5i88p/AkZcE0WEBYmfm77Uannd8Q+eqzz0Q5DvUuecUCfM45PO44W2GfFSLVSwgqmOvIUpnihD8O1wNQEBbJbPLiNLHHwuRU5ogiTM+cL7N2vBxAQIt9VCZFrxmqw4NebaJMlTWWK/KKDX9mUBp9O1k1XndLC/x0invD/WLrQG5lUhZn983BbtBNoq50fLTSIYWqhmdNePZr3P1eQy4NGAsS1pSrHGImpXZ6DQXkzaJzEqpty9w== 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=lXNZ4gtJEZXkyLS5eARYxheAL8v3cyxs7r5hvQT8Sko=; b=B0eLz3peHIeD3qc9qp0NSBqcr4KAuSML26LR8YkkmsLomtbdLi6iXbv1ngyL4Zl7EVFL8plrWrXXc3WLNC5q88DbniczpRsqhO3HM5Xf0/DdnJ51XmjDpfs/AiSW47vj8knDEo6DGwkOLXkVpZtvL/zty0fZIbIC7PneQHa7b8A= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB6100.eurprd04.prod.outlook.com (20.179.33.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Mon, 4 Nov 2019 10:11:33 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::f16d:a26a:840:f97c]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::f16d:a26a:840:f97c%4]) with mapi id 15.20.2408.024; Mon, 4 Nov 2019 10:11:33 +0000 From: Peng Fan To: "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , Abel Vesa Subject: [PATCH 1/2] clk: imx: clk-divider-gate: typo fix Thread-Topic: [PATCH 1/2] clk: imx: clk-divider-gate: typo fix Thread-Index: AQHVkvg7LUdk4W5CkUy0CpJNIA6DVQ== Date: Mon, 4 Nov 2019 10:11:33 +0000 Message-ID: <1572862200-29923-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: HK2PR03CA0047.apcprd03.prod.outlook.com (2603:1096:202:17::17) 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: 5bbe008d-fd76-487e-4fc5-08d7610f5e0b x-ms-traffictypediagnostic: AM0PR04MB6100:|AM0PR04MB6100: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-forefront-prvs: 0211965D06 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(39860400002)(396003)(346002)(366004)(199004)(189003)(256004)(86362001)(4326008)(110136005)(54906003)(486006)(14444005)(2201001)(6436002)(6486002)(2906002)(316002)(8676002)(26005)(186003)(6116002)(3846002)(64756008)(66476007)(66556008)(66446008)(66066001)(66946007)(8936002)(50226002)(25786009)(71190400001)(476003)(5660300002)(478600001)(81166006)(52116002)(81156014)(2616005)(44832011)(14454004)(102836004)(6512007)(99286004)(6506007)(386003)(36756003)(305945005)(7736002)(71200400001)(2501003)(6636002)(4744005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB6100; 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: gdydCnzWDXWWmSfIzlZiXfYhyrjpienySeAkiqkd8ka/4WaxLqT2ZuzuKeJeuCBpewoWtHQn9PQzgkjxVCgI0Mt8uAoVnctrZ8cqBV2qoGpki83WI2tfXH+fe/lTSIJFlUwvpgAzjIFJdpk7BGcLE+AgyBKIq+XFoGSPDcuwpKztui/+HuE36NuA8sakzHTNVgLPgSAUekSK8dtJDy1k34sFyl7R3lN+0qgdfWtwPBvMd+4iCWztsbNHLbiHEH3czeNGQCVs3X/skAzt4tDe1QSOhRsQd2w1wN8qOPGaWGw8nBSeZ/xAE3GKntLy2ZDdcPu+pUsTa3baVzK7gjpWgXW+4D/laW1iBcqRAjnbjL9jLOX7MaW8q2W3EcBzKFAN1ZRLLPDk7g0YyZjAB0zixcZqCfl64UBcYkN+nuS/pRY2i2Ydhjo3DH/hItlWZQn+ MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bbe008d-fd76-487e-4fc5-08d7610f5e0b X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2019 10:11:33.0555 (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: ZvEJLW3bn/SIE+R40QjHPEJ4f/b5m/dfeSh1YSv/U86Uh7MiSHNSjogz4eWgJCIIPEjWtbTT/30IdSllnkhUGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191104_021137_396117_B7BFCFC4 X-CRM114-Status: GOOD ( 11.53 ) X-Spam-Score: 0.8 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a01:111:f400:fe0a:0:0:0:60c listed in] [list.dnswl.org] 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 1.0 FORGED_SPF_HELO No description available. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aisheng Dong , Peng Fan , "linux-kernel@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Leonard Crestez , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Peng Fan resue->reuse Signed-off-by: Peng Fan --- drivers/clk/imx/clk-divider-gate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-divider-gate.c b/drivers/clk/imx/clk-divider-gate.c index 2a8352a316c7..214e18eb2b22 100644 --- a/drivers/clk/imx/clk-divider-gate.c +++ b/drivers/clk/imx/clk-divider-gate.c @@ -167,7 +167,7 @@ static const struct clk_ops clk_divider_gate_ops = { }; /* - * NOTE: In order to resue the most code from the common divider, + * NOTE: In order to reuse the most code from the common divider, * we also design our divider following the way that provids an extra * clk_divider_flags, however it's fixed to CLK_DIVIDER_ONE_BASED by * default as our HW is. Besides that it supports only CLK_DIVIDER_READ_ONLY From patchwork Mon Nov 4 10:11:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 11225329 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7E9051390 for ; Mon, 4 Nov 2019 10:11:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4774C20578 for ; Mon, 4 Nov 2019 10:11:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ssMX2xSj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="bkb6VJnj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4774C20578 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=foA+O9HSQuxNLCZWN6Xn/eu5/mH3UX5opU3O8U3lQoA=; b=ssMX2xSjK6bsY5 2sHCD4EBgN+eGnr4uuloPVEFbt+53tQ5pLnw0rpHQy/tWJYj0nUUptVoITs8iqg8WdPhyOkoF4VNR Comx7idQO5Y2L6i1UroJOPYusTlbsaYIj7RTVMU41Z+5+01Q6ZSJToJs4ytekfpbmUPk2Fs0lqTDK hgPKDbVweshiIft5OdcYVGmdDEdQ3YZ2F9P3j3kAfgh1QH/vj9X3zffH9SeckSf5Hu5l6+62BoBEN qNeG/b7GKLvndhW7RG2coA0RccqisePkS/ijYoTHx64eYKKekO4R1ZRoT9K3tIg/d2dyZWBTxg7co ORcBYH79O/Uu61uuWFbw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRZKt-0004Ju-1N; Mon, 04 Nov 2019 10:11:47 +0000 Received: from mail-eopbgr20088.outbound.protection.outlook.com ([40.107.2.88] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRZKm-0004A9-Q8 for linux-arm-kernel@lists.infradead.org; Mon, 04 Nov 2019 10:11:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cW/8DKuZEZSnQuWB40Q5VjX7k5CznfnBb+A8yCdkDhNy8QX3L+ncYdPtCkCq9SYN5qSTmmU+GGPJqyMEI8WhKYkwZeoOTtkAMf6WWSmaoovmZHBVe8FEgI+4QgOkcXvCy+6dO6ofydrDnzJsr/bwXv3BkcIg1wCUne3WDC9FaBeP5vMvI5sX8alFUHYV6m3hzy0m5MYWu1aGkDlda3L87dCilLjK4SX+6CkiVo2vaPTCQKmg0VxfJ15zMz5gdLS8PIE3gNOzPtksyj+2JCOYk+OddtFQ1xmELJBOjbiJwvL/Y4jcIBfo6HpkH0mnUOOoB8PE43CN6jIXwEtfPeqEDA== 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=r4Q6OCFdfXglH+O9H0xCZY4exLfJrhjJhNG5RxsjsJ8=; b=VdrGRwcWtmgQDz4i3gj0miwVQu9ROosshEiyS9howBXVCm8RC10onWtJOpC/Z4BbqWhzfrXpYwssE1izENG5SHG6sxR5kX0v+dn97uU8ovgg5mhqyMokuJ9sGDMVs8CdUr00FYgOZ4Ao5Mp/JYof42fM/RcPTMb8EjegQ8WeeMhajbzj9drxGc7Jh+ANp9MLm1KPKON9N72SrH54ELvWvEieL5RgNC3DaNGPkL7MGLNDb4HBTiiHHxNyMsam5e7JZspD57J23Ex5JD5XiyN2X3bKUTx9h+WQCR1qxuSkiAqO0aQq8tlyXYIrO5vFIpyFAQacngYiV+ZQ0ePT1gp5Ag== 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=r4Q6OCFdfXglH+O9H0xCZY4exLfJrhjJhNG5RxsjsJ8=; b=bkb6VJnj9JS+BcfAIn3B7guaPqj+Kzje3Gm9BNRiqAFbLv1Z8RPMuwxrP/W313fJW4Ao2grm/tQjUkr7Z5pEARKE2OwxITQt4Y4k+QR1xNB5S51O+4PQBleqMXPUMCF2z67aahHtmEG7DY9TR1RHnIr951yA1jdi1i1zXN6Otq8= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB3987.eurprd04.prod.outlook.com (52.134.94.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Mon, 4 Nov 2019 10:11:37 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::f16d:a26a:840:f97c]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::f16d:a26a:840:f97c%4]) with mapi id 15.20.2408.024; Mon, 4 Nov 2019 10:11:37 +0000 From: Peng Fan To: "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , Abel Vesa Subject: [PATCH 2/2] clk: imx: clk-divider-gate: drop redundant initialization Thread-Topic: [PATCH 2/2] clk: imx: clk-divider-gate: drop redundant initialization Thread-Index: AQHVkvg+c+4CR86moUSn7OJwmBC6Vw== Date: Mon, 4 Nov 2019 10:11:37 +0000 Message-ID: <1572862200-29923-2-git-send-email-peng.fan@nxp.com> References: <1572862200-29923-1-git-send-email-peng.fan@nxp.com> In-Reply-To: <1572862200-29923-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: HK2PR03CA0047.apcprd03.prod.outlook.com (2603:1096:202:17::17) 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: 870ac988-59f5-48d0-04f6-08d7610f60f7 x-ms-traffictypediagnostic: AM0PR04MB3987:|AM0PR04MB3987: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:597; x-forefront-prvs: 0211965D06 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39860400002)(346002)(376002)(366004)(189003)(199004)(2906002)(110136005)(186003)(54906003)(81166006)(14444005)(316002)(386003)(6506007)(6636002)(52116002)(66556008)(7736002)(6436002)(102836004)(25786009)(305945005)(71190400001)(71200400001)(66446008)(8936002)(66476007)(64756008)(76176011)(66946007)(66066001)(6116002)(3846002)(81156014)(8676002)(4326008)(86362001)(446003)(11346002)(256004)(14454004)(50226002)(26005)(478600001)(476003)(486006)(5660300002)(44832011)(99286004)(6512007)(36756003)(2501003)(2201001)(2616005)(6486002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB3987; H:AM0PR04MB4481.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: wMsw9gUwnSRSolxjTYfQzBV6u6u6z34kY6oG8xzQJs/s6BJgPLQ7Dm42DQ1OSUmaIxl/hHIYuOpI/sJWfGJp904WARI/XVHIbUZiiE04mJGO/m+sjznbWUzny1xJ3isjZp7IWCqLDHHTNYMfbPZk9QV7C7cdicKPQ2CWnIiwyaIQaycDloei4O6DX2WzbmSPP/uVXZmng7YPi2nooX8HTR88xPzX9/JWNcf8pE/gP8w5MsVGf0W3OMMMOlSTRjov/FBsCFL+vxAg5Ux7sGim7kYJQ9MSCnyi0L/k7h1ysdtr2oXt8GXl9m2VKlL9BY4bxEj+NmcsUhIgk55K6z7csyaxTTDMr/+k0my4jANztMEx1pFBkOb4+i1Yszmph7KkCISV7V7Jhjb5f9L6ZRLwVn5Vlq/gxsdwHPhsBNcnaMd0mdGb/FxUrbKNHEpYiw9D MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 870ac988-59f5-48d0-04f6-08d7610f60f7 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2019 10:11:37.7318 (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: ncKNwRArnpFrHkpLWQ9pjp3FaGcPjfWjsXINk+gZZBG0CznxRo1gHkKbL3Dz0EiKyQhKW4hpYhTIHTX0tm9UVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB3987 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191104_021140_854663_6D73ECF6 X-CRM114-Status: GOOD ( 10.95 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.2.88 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aisheng Dong , Peng Fan , "linux-kernel@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Leonard Crestez , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Peng Fan There is no need to initialize flags as 0. Signed-off-by: Peng Fan Reviewed-by: Abel Vesa --- drivers/clk/imx/clk-divider-gate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/imx/clk-divider-gate.c b/drivers/clk/imx/clk-divider-gate.c index 214e18eb2b22..4145594af53b 100644 --- a/drivers/clk/imx/clk-divider-gate.c +++ b/drivers/clk/imx/clk-divider-gate.c @@ -43,7 +43,7 @@ static unsigned long clk_divider_gate_recalc_rate(struct clk_hw *hw, { struct clk_divider_gate *div_gate = to_clk_divider_gate(hw); struct clk_divider *div = to_clk_divider(hw); - unsigned long flags = 0; + unsigned long flags; unsigned int val; spin_lock_irqsave(div->lock, flags); @@ -75,7 +75,7 @@ static int clk_divider_gate_set_rate(struct clk_hw *hw, unsigned long rate, { struct clk_divider_gate *div_gate = to_clk_divider_gate(hw); struct clk_divider *div = to_clk_divider(hw); - unsigned long flags = 0; + unsigned long flags; int value; u32 val; @@ -104,7 +104,7 @@ static int clk_divider_enable(struct clk_hw *hw) { struct clk_divider_gate *div_gate = to_clk_divider_gate(hw); struct clk_divider *div = to_clk_divider(hw); - unsigned long flags = 0; + unsigned long flags; u32 val; if (!div_gate->cached_val) { @@ -127,7 +127,7 @@ static void clk_divider_disable(struct clk_hw *hw) { struct clk_divider_gate *div_gate = to_clk_divider_gate(hw); struct clk_divider *div = to_clk_divider(hw); - unsigned long flags = 0; + unsigned long flags; u32 val; spin_lock_irqsave(div->lock, flags);