From patchwork Fri Sep 20 02:12:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shen Lichuan X-Patchwork-Id: 13808071 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2074.outbound.protection.outlook.com [40.107.255.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65B18AD5B for ; Fri, 20 Sep 2024 02:13:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.255.74 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726798391; cv=fail; b=ZYtgvBQgNMl8/4ZImEr1xB7WppbF/KGeVsiLxQzB8JTje20k0ukoriF2jJ6WwW60xhvVskNWtqhhkixPyKCPzfvCHWabuRuazwxWIBmrBJXYbGJ0K1CmUFkI/oYUgHQT5AUiI+sMAvxVJAU21t8ittX4effWUBW9UoYJGRiAzog= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726798391; c=relaxed/simple; bh=s8eLMDfWfyphL9fZ8qn+qTI+jemd3E/xe622d5y951E=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=uV4hu8fWE6FA4j4I+pOQ8Zr1iUOEmVCYZjfQE4sMUUa2iA84AenIEqXu4ObrVzBKZcGgeR+1DQbZqkx9Xc/cB+uEsimAwi6eLp8fGkdVoP63HMSkqxPTdp8P+d/fgUa8MTJh4MedznUAuvZTpxUJqzTV24Wxr2Y58hO0NzIbyWk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com; spf=pass smtp.mailfrom=vivo.com; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b=DCxNxbA4; arc=fail smtp.client-ip=40.107.255.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vivo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b="DCxNxbA4" 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 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 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 X-ClientProxiedBy: SI2P153CA0021.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::20) To SEZPR06MB5899.apcprd06.prod.outlook.com (2603:1096:101:e3::16) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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/RymW5Kpadhd8up6+N+c+Ms9c7l2CcQaBxfbzBZbw2NR2/Zwialf83lqbxqRrued9Gqg/CuwREiHw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;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 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 --- drivers/nvmem/imx-iim.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;