Message ID | 20240920021250.4758-1-shenlichuan@vivo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D6437CF3964 for <linux-arm-kernel@archiver.kernel.org>; Fri, 20 Sep 2024 02:14:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=L6IY/qlMxSFV7CLBBJC9yoVpLRxWAsaxsUyRDNlXZAg=; b=jYMG4ZlqWByvLah7Px0CQXbWUt Riwo5UFh5lA00waGEWAvskPcRANWZMWQh+np/bw1yJRtZayJBn3z2+9N/lVolpIa9pyDMKUcvQz4C 6jgMvyn7oLY8bRyO3mwPOKPZ65F/tP5mwEz1sOYB7G4Pk8iq89JNoJdq2xZXINRjITws7P2/BgWlr FJQ7UvP0fNoWsMZeuVcN2PaB6I+zG+GAKi4aej3f7o0rBQkYkSDqEKo8fiUg3ZyCgHLBTkmA0ucRu ZtBDT5M4RPwnhWXxU4s0ngRPZfDJ2D3renSf9dIpm/CcGT7U101f5WM2SoOk9ddNsf3CRw2EKQPfC l383hx8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srTAB-0000000BI7I-1mnE; Fri, 20 Sep 2024 02:14:27 +0000 Received: from mail-sgaapc01on20623.outbound.protection.outlook.com ([2a01:111:f400:feab::623] helo=APC01-SG2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srT93-0000000BI1R-1WMy for linux-arm-kernel@lists.infradead.org; Fri, 20 Sep 2024 02:13:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YKsccMY59bZBV8hnV2Sd12IgOSCzq9P24mj3qLVP4zOA5CMVwBVNQ+IqU2AzgeWFYiQVdSDaAJtf1Nv9ePQX1rs3HdwONVy5fH8S/g1bu/xj7UG5M+GDlH9Y/rVxgOq09vM4hpbrOxJBq4PvpE7IOSx+6Yz5LMYbDAsKAuuwNOZgro7YX4guHWiAZctjxvFNCefx+2ehEwBucSCr8TTl4UQ15qwnvmPwOQPb8SMZRjAwyEajF1KWK+oPcz2ebcGizOAWuNYN32aYb8seKyXXLMhsplwiqpkH4dmimVlQr3SVnHQfUu2ejZHvrEJivmfBKkGL/9wTs7Hyjycytor32g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L6IY/qlMxSFV7CLBBJC9yoVpLRxWAsaxsUyRDNlXZAg=; b=dQl0xf42JzJRAynVB09L6Go++5WN0nUKYA9TMk7knWbl7gGWDXnpjYrX189h/V4SYV+vkZ+rNo2065BmeEDL1ZIeriA6krV6uYXJHZH5uN8MVImeyfkIUOTqgrxlG86lBQdvMpwbRHa3vM+pmXHvdt40iujiSGUTZlVzp26dNI/4ep3KJYV1mZ9EcaV/3LWzv4/eSp+skS6klnWAMLo4v5rKoF/ROe8MrGrd9yapoS5ljT630Jm0OOx3K4hwMUDF00C8wX9aOKTNyfoiXFECoDQ9R2wGipDaF1IMqQ2nqk+kB45h8mHFeSQDLn9Nb/NmA5bxlLqx1e+mLk7c3uFeVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L6IY/qlMxSFV7CLBBJC9yoVpLRxWAsaxsUyRDNlXZAg=; b=DCxNxbA4Y5qoB6YYwvi+VJ2mthr8PXsSHCWyACR++J9MwI3wIXHldlthkVpVvNnnhN0g9tcF9nzTXfcTZXRYBoTyDabHFU7mvuNsdtPJmdkPzLKhKcEyD6M0++Kah4hd+NKgZGPkyXv1MB2BMQsXaOBnpyTxBzVKDXbRF3GKbrvuPNgRbOoTuYiK+uj25zbaskZJeTRu+owisYlHMu9Psu/6lDg/xfX+jHw+Ph/nlk+/1Ed0oSO3gSCbxe3nTKhpf8TIO6IqaxnwS/SNgNhOPCnfPRoy5q4MblvbCHvpELy/PZz8RuUIlglyLn8umOsMovUblKOozq+eKBX9cl+0JA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) by KL1PR0601MB5863.apcprd06.prod.outlook.com (2603:1096:820:9c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.18; Fri, 20 Sep 2024 02:13:03 +0000 Received: from SEZPR06MB5899.apcprd06.prod.outlook.com ([fe80::8bfc:f1ee:8923:77ce]) by SEZPR06MB5899.apcprd06.prod.outlook.com ([fe80::8bfc:f1ee:8923:77ce%3]) with mapi id 15.20.7982.018; Fri, 20 Sep 2024 02:13:03 +0000 From: Shen Lichuan <shenlichuan@vivo.com> To: srinivas.kandagatla@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, Shen Lichuan <shenlichuan@vivo.com> Subject: [PATCH v1] nvmem: imx-iim: Convert comma to semicolon Date: Fri, 20 Sep 2024 10:12:50 +0800 Message-Id: <20240920021250.4758-1-shenlichuan@vivo.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0021.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::20) To SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5899:EE_|KL1PR0601MB5863:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ce015e1-d8bc-4b16-a480-08dcd919c1ab X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: EPXyefz0perijaiLtu3fgFWjeBARTQTD3B/I6T0QqmvN36M7fQKQJ4tbfK27cKRn4Rrs3Zg+mbhEnNKmV4OpLgJwA0iUJszt6pUmGH/N+sovK0rvbXwE7s5Dn0fvJmC1kjzO7zQJJRzvcuhtuNxEqlZ89pICh2l/VgLXQcgScrz0wHkiPjw5hUPO11uQpREosBoCSUsENOGyQX0jzjKzM2d7wQXTC1zHlL61DockW3uNmh20NuQCwOIQSNU3ke6NzUhIZYwp1vV9PEwXLGzEXczrnVcmrklghNkEaeIIqGfFyUjBGU3+CvIaHMpQ8TpJ0lYCGciQ80SL2jF4x6Rn9D0v5PuBiOS9+tZbvGzU199rPKcirxJyqY+eASAb3D/RymW5Kpadhd8up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:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5899.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: qDCu+yyqa9w6G9JyhdUrDFs0mhxQMv+LsOQe6vZjnoeuCbPtPGhURUYYsmWpnnHUgzQQt/mUbtrjbb8hzQ+9ECPrQbLuv0q7c6vWzsOASLuFsAHp5pn0icGR0IhmRhsrhv1M1W7/f3JNiOpr9Emnk6x6AshnTulDoj/Irw4CpiQkWNxpDsNBEMiRD6oNAuk1EGcESmbhRrHDPTGg8yLATk4PJfOADX/arGt9mtZfTP8xLy3P5GcsA2N6tyP2dA/vKWeCJbX93QaAfy8dXWaSGYPgYTXR9eYHBamOeHXoOYFlsunozxInUYBZrpk2L1ZLr1bTeStTRcp1yACZvFVXLgR+FWuUeT0BzpZiWLDNM+/Wfvf+beJ1g3fwlN6xdtLbBdJDY1aJOASNmOvxC96Q7+IeneCB31JTtzR7EZ/F9q9Llid1tSL6oOiqQezTn8VRPzSnA729dtzKHHggW/bAk7raJ6BRsMK+tz6B4f6OJ+1sWZXVMy7QicG1L8HO1/wgtyMRFsi6ZhofVRXTlctHgUPGAZFV3W/elPmoYhr1UGpmGdBs8QbuNngydJUwhlEYhpt6eUHMZN26+5ALedHbv+4FZXH5Uo0MOaFcWlr8B/V8weJeJkRqQBekf+QjiAgG0ysuwvuG0YY5S9TDZMzoSoERvmIclY1eXhy4dI6HBNBaPWCdaA2iE9vXjNJqCiqKE/p3YMgZb5EGtRF0NwXo7D+uXLJOwqJJckcB44kZj6bB4TvY+YYucMLRpAKktHpA8f/9aRdWlMROS0jo3O5ewh/oixD1ExNtIDDJnT/eEilUPnLu2BBV9aM6gTksiRSDmwFA2saX8cbHib7pgaMZRFeT+rDwxXJeFeziKMAHRWOcUU9F+CqSHy6rozHqzyXSwq9eXRq+RyyA4QT8edr0ZxLgLGx3jNGslszmDAJfCRESQ3Jb+j9ee04pMacrdpEEKWtA60YZ/FD9QJ0yuVJZ1LKHKvEotzdFK6UmvOa7+/DHb0QrvvkfSGwDJ4kwV0x9FnYG63AGTD7q6q+Pp9xZ9Hdh5mEdGaRTC/6IeRFQM2fyTtCozwS1vRLfwyWXx3Cbkwb7+G3c/l0ln0ChuDFcIA3BAwX4Yee0+50GP7WPMKAdCUL9iS7jwmwMD1PGT28NPHC6nWzK5bHbKAOATspCmqMdXjGUVSPI92rdd/YRAedDIFiK5w5JcWVQUgfc7vNVnPRZsUXbQXwwKXX1A84V2soz6lU3ePs10nzWjYY5gH0XL0PmmAqHw7hbsznf3w7WkXFZGBRZpKn/dNnz8GOMv1rT7Fyj3SWlHHZESIfSh3o/eL7pLyPxHHRLR4XxtQ1+MULVMTD5VX87gmHsg3qil7hTSwLn8o52KiIF72SAbqm5HlcqiZGDT0DlC3C4PpWhgKxYheHwmvjySvjTkwX9ccWKq/OlD8Qav4P5nYwIYd45kAIf0P/QIYhHAgyHgIcLjFT09XleOkkeQiE84o6tdOC9xhKKDMkdGeAu27YqXsZJvdg48vzuOf7VS3qRy5oUzWxUbywExvN7+iR9WII1mirnrYKvSxabyxsC/I3F0LLpAao/LcFJTfKpvVMt5rgh X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ce015e1-d8bc-4b16-a480-08dcd919c1ab X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5899.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2024 02:13:02.9533 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1PP30LXQFZ8gJcW4eg43+3p3yGcoXl7P2R9saH/zxagyk2UsPrmwi3rlVpl9png7RGkgJAKWom3YEMS06qRIsw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB5863 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240919_191317_955265_D8D10D1F X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[v1] nvmem: imx-iim: Convert comma to semicolon
|
expand
|
On Fri, 20 Sep 2024 10:12:50 +0800, Shen Lichuan wrote: > To ensure code clarity and prevent potential errors, it's advisable > to employ the ';' as a statement separator, except when ',' are > intentionally used for specific purposes. > > Applied, thanks! [1/1] nvmem: imx-iim: Convert comma to semicolon commit: e2ba37350d1d95c5614defcec32020479fb5148d Best regards,
diff --git a/drivers/nvmem/imx-iim.c b/drivers/nvmem/imx-iim.c index f13bbd164086..8cfbe55a56cb 100644 --- a/drivers/nvmem/imx-iim.c +++ b/drivers/nvmem/imx-iim.c @@ -115,11 +115,11 @@ static int imx_iim_probe(struct platform_device *pdev) if (IS_ERR(iim->clk)) return PTR_ERR(iim->clk); - cfg.name = "imx-iim", - cfg.read_only = true, - cfg.word_size = 1, - cfg.stride = 1, - cfg.reg_read = imx_iim_read, + cfg.name = "imx-iim"; + cfg.read_only = true; + cfg.word_size = 1; + cfg.stride = 1; + cfg.reg_read = imx_iim_read; cfg.dev = dev; cfg.size = drvdata->nregs; cfg.priv = iim;
To ensure code clarity and prevent potential errors, it's advisable to employ the ';' as a statement separator, except when ',' are intentionally used for specific purposes. Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> --- drivers/nvmem/imx-iim.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)