From patchwork Mon Mar 6 14:41:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 64741 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1884474wrd; Mon, 6 Mar 2023 06:55:27 -0800 (PST) X-Google-Smtp-Source: AK7set+Zbts1fd61ho2c3dqO8CkBFm2NvMceMYlPFa2QdCvzrhF/qmaIlBHEQZ/VT5x4oVuYOh33 X-Received: by 2002:a17:902:ea02:b0:19c:c8c8:b544 with SMTP id s2-20020a170902ea0200b0019cc8c8b544mr14586816plg.64.1678114527288; Mon, 06 Mar 2023 06:55:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678114527; cv=none; d=google.com; s=arc-20160816; b=HSVYsPiYHD1thWjbYs2+eD9CEHaHd5NLYEMhYHYUiVh69IlXIrTFEWc151zw07AeHf 4WwKQ2Hy8RE6RTlXzrGh72+d8z+Y9dXWFDkB1BN8ZXvhnQkEYCuUgrEk7MeWR9V43wC+ aauls4OQHyUmAmYAfHIM4K39p3/HyLNrBwJKSsSAHBX633gqzs8T5L7gjXvSw1j2VBVo 3hIDhTjjMDuAc2BhJOf+DIb+Gfmj+lvogTnET0TWYAVebAZoHzFgtj7cQsJNseuylzdB naTROnuKXvcFp3JDsthLTdpxwx/9RxvSQcoI0kMVpm/kblBKOnEZBBFPj0h71trjchSJ 9USA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=/2QNenuQo6MbSF7cRXmwd59aJmgafR20m5SsTmAQTOU=; b=tcwo7IwdRwLcboQ3utzH26V56t6ATwxrsIdoT9lNymSMKRLv3VVmhjYXWywNN+o3xL /cwzd6b23E1Yfpp5hlfvmT7/lpFWGGjpkP7DL48h+La1C9OP9OAOB1ZHvcq8m0+jkj8+ ajTn4/i/K95QxRwchSf7ppFnqtTeixIJ0HEpojc6pMYFxbRGG479wNYlIxprL/l4A3uW CSVBU9oHlZ4HvHzDulEIPYPwgJNXk0zYslpFm0afQYU6IW7hriWSs5iPXj4dGlkTgWvG tQBq15pmJ/MKx+NIBBtOkrg7Nuwp82Ju7DhDuGzRqf9VMYealdZRfCKpe4JHXPBKCEEX iVzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Nk34kNHI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 22-20020a630316000000b004fbd7827010si9148817pgd.263.2023.03.06.06.55.13; Mon, 06 Mar 2023 06:55:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Nk34kNHI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230076AbjCFOmn (ORCPT + 99 others); Mon, 6 Mar 2023 09:42:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231210AbjCFOmd (ORCPT ); Mon, 6 Mar 2023 09:42:33 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 507702A145; Mon, 6 Mar 2023 06:42:15 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 326Dgfil005007; Mon, 6 Mar 2023 14:41:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=/2QNenuQo6MbSF7cRXmwd59aJmgafR20m5SsTmAQTOU=; b=Nk34kNHI75clCX0DD2icUXU5HDxodW80So7KgJibghJSbWxHN3WzTX2+NQKdOGTZ7avl FV2M50DYYZAeBBUtlan5ZeMDQrTmD9CPnRMTaePbKpbEQd1sDnJK3atbODzFM4ntjXqx 64TE0PCsybNj3/JlXAqojxf8jhhCM/34VddaW8Uw8KcfKXfgm0euEeYvc7XXOcxnrrCM xopl4pgLphfKSISmEgOXgua0eEMgehjLZ9Ei592PtL6ycx5A+fYD/MMROyzFnUF8KS8K 24XCqaHTCr4XwczbxlwwRFXCrsGX6TA42dU4zGRPwi92YDXlUGS9WsEaMuLjopnmM9nf IA== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p418751mm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Mar 2023 14:41:50 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 326EfjpM011970; Mon, 6 Mar 2023 14:41:45 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3p4fft5hsq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 06 Mar 2023 14:41:45 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 326EfjQE011965; Mon, 6 Mar 2023 14:41:45 GMT Received: from mdalam-linux.qualcomm.com (mdalam-linux.qualcomm.com [10.201.2.71]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 326EfiSw011964; Mon, 06 Mar 2023 14:41:45 +0000 Received: by mdalam-linux.qualcomm.com (Postfix, from userid 466583) id D735412010CA; Mon, 6 Mar 2023 20:11:43 +0530 (IST) From: Md Sadre Alam To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, mani@kernel.org Cc: quic_sjaganat@quicinc.com, quic_srichara@quicinc.com, quic_varada@quicinc.com, Md Sadre Alam Subject: [PATCH 1/5] mtd: nand: raw: qcom_nandc: Use devm_platform_get_and_ioremap_resource() Date: Mon, 6 Mar 2023 20:11:41 +0530 Message-Id: <20230306144141.15360-1-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: ag-00pLbdU9YvMST_nueD7Ca12fmZqS_ X-Proofpoint-ORIG-GUID: ag-00pLbdU9YvMST_nueD7Ca12fmZqS_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-06_08,2023-03-06_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 adultscore=0 priorityscore=1501 mlxscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=821 bulkscore=0 suspectscore=0 spamscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303060129 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759630618594207006?= X-GMAIL-MSGID: =?utf-8?q?1759630618594207006?= Convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Md Sadre Alam --- drivers/mtd/nand/raw/qcom_nandc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c index 198a44794d2d..5cc1cbc9517d 100644 --- a/drivers/mtd/nand/raw/qcom_nandc.c +++ b/drivers/mtd/nand/raw/qcom_nandc.c @@ -3269,8 +3269,7 @@ static int qcom_nandc_probe(struct platform_device *pdev) if (ret) return ret; - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - nandc->base = devm_ioremap_resource(dev, res); + nandc->base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); if (IS_ERR(nandc->base)) return PTR_ERR(nandc->base); From patchwork Mon Mar 6 14:44:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 64764 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1899075wrd; Mon, 6 Mar 2023 07:18:46 -0800 (PST) X-Google-Smtp-Source: AK7set/AjWOyrSzt8xdckullMvpLOM3rj4jkHx+8hEYoJ91uWvZZkim5tLtN4wan3/v3I1ycar4v X-Received: by 2002:a17:906:33d1:b0:8b1:7ae8:ba79 with SMTP id w17-20020a17090633d100b008b17ae8ba79mr11053390eja.30.1678115925915; Mon, 06 Mar 2023 07:18:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678115925; cv=none; d=google.com; s=arc-20160816; b=tfu/8+QW1UAJtjbZOEFi1EUTeUP2ZGeQf8+RvECcSDDJqamAV6Pb8RIguJn/yikNP3 ZF12os4+NFpKXGI0Ei0fkygQSVmYB5J7Qr5WWpZV1eFsYm7LxqGm/jd3TzXl4UAKAEBI xGC+i55rZtQgA16LriaIS5iWYFR5lTeUPDgVNXdjP+qDMHa5Mw87iupQAEptOU2DgwqF PfYPRbmnQk9eSwDWonm8q+X0NuaZIT1KHbPdq4ua5eEJnUJIEIbaDqBd7HN0b6gcgpjm u213u2SCfb9j65UmTtFPBdSx6b8GvJHqJQyN/k87BLp859OAPxfGSnx1wa3BW/+myLIx 9HLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=VW6B8LsWDMY2hWOF9uwJP75jKcyNad+r7ywddka38A4=; b=NnOh2Qtl7GPmCJetyCxrINar1A5iOqd+B/l1H36PknmkSdJ3rBiyOYsu0AW3D4yYof sik0L3Arf6zmIGRjCFKPp7a65AILNw3Bzl38+3QvfC+HT6OODC/FuxcZa8YTa8Wqwohf fHoTNk92D7e76mTXPYds0Ufw1h3x/n0omjWnPCAb8cJq35+skIuJS1BpXpV++0h7Ra0t 3m6P/N56N7aSvWA28TC5AVSRUsSVVEJ4QnbTvmK62hflOp5SM91vzVWkVfmIKH9pVIYf zz0jj2PUyb/87mkRTR6DMiZEsWJ2ZzsE4osM3MxC9LZJ5EJOjhHmCcf18SynSuO7StHH 588A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lGkI7AeM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r8-20020a1709067fc800b008da9dc63176si9290230ejs.514.2023.03.06.07.18.20; Mon, 06 Mar 2023 07:18:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lGkI7AeM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231158AbjCFOpC (ORCPT + 99 others); Mon, 6 Mar 2023 09:45:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjCFOo6 (ORCPT ); Mon, 6 Mar 2023 09:44:58 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F104712042; Mon, 6 Mar 2023 06:44:40 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3264grvA003048; Mon, 6 Mar 2023 14:44:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=VW6B8LsWDMY2hWOF9uwJP75jKcyNad+r7ywddka38A4=; b=lGkI7AeMYKl1WtR4tT3FZYkHaLCTTGCaH6aBDYEDTOiAOPtXa1GTAwic1EZ5zRbYSfNW /H8mSCstSvzGu2rIZ4HDJj6rcJ1Q17kdO3EQMPHWdqDQtQvO3LiFgTlHoicQ8nEQGxKo r28aqRNfLGW5EhrBW/MxdGM/XuG0pZ5m6X8l8k/t8vuFGI9LgsyU/nOryxBS482GyuY6 Uw9+tC5CdSPowbBD9Qnzg/rsiWsE1yQYajHzz4s+h2/F/8QVNTyykAIUZZhPQ4b0Rt3o YA+MEkgUcgRYhlh1y6LcO7s9x2Ko8Euj5bvyum/hySwyWBcdH21Q7RhaFGfxKGbDh7jp Sg== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p417jw0cf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Mar 2023 14:44:11 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 326Ei7xV013294; Mon, 6 Mar 2023 14:44:07 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3p4fft5hve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 06 Mar 2023 14:44:07 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 326Ei720013289; Mon, 6 Mar 2023 14:44:07 GMT Received: from mdalam-linux.qualcomm.com (mdalam-linux.qualcomm.com [10.201.2.71]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 326Ei7BL013288; Mon, 06 Mar 2023 14:44:07 +0000 Received: by mdalam-linux.qualcomm.com (Postfix, from userid 466583) id 639F012010CA; Mon, 6 Mar 2023 20:14:06 +0530 (IST) From: Md Sadre Alam To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_sjaganat@quicinc.com, quic_srichara@quicinc.com, quic_varada@quicinc.com, quic_mdalam@quicinc.com Subject: [PATCH 2/5] spi: qup: Use devm_platform_get_and_ioremap_resource() Date: Mon, 6 Mar 2023 20:14:04 +0530 Message-Id: <20230306144404.15517-1-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: ih2T7pzTrIoFdI_e-r0eGHo3rsyuNYmv X-Proofpoint-ORIG-GUID: ih2T7pzTrIoFdI_e-r0eGHo3rsyuNYmv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-06_08,2023-03-06_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 clxscore=1011 adultscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 suspectscore=0 priorityscore=1501 spamscore=0 mlxlogscore=712 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303060129 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759632085064898559?= X-GMAIL-MSGID: =?utf-8?q?1759632085064898559?= Convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Md Sadre Alam --- drivers/spi/spi-qup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 678dc51ef017..71fc65e094e7 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c @@ -1003,8 +1003,7 @@ static int spi_qup_probe(struct platform_device *pdev) int ret, irq, size; dev = &pdev->dev; - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - base = devm_ioremap_resource(dev, res); + base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); if (IS_ERR(base)) return PTR_ERR(base); From patchwork Mon Mar 6 14:45:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 64766 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1901697wrd; Mon, 6 Mar 2023 07:23:55 -0800 (PST) X-Google-Smtp-Source: AK7set+r0YCYrorSyIQ1tw1bd43oG+Y8FJDhR4q0HmBTvRD+WDf7uSthJ/NKuhVIfhjjgxofN9Jn X-Received: by 2002:a17:90b:180d:b0:22b:b375:ec3f with SMTP id lw13-20020a17090b180d00b0022bb375ec3fmr12107311pjb.21.1678116234775; Mon, 06 Mar 2023 07:23:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678116234; cv=none; d=google.com; s=arc-20160816; b=GcC9mUS8rC+NRTtXYCR+IrYsz3blAw6pqFatZHJtzIb0Aa6O4jG/EjLbstZCci2cOs nIdSlOg3WChgYJJSr3vmIElumTgAMmJz5kaJFWEMYEWQ0pOmurdKIyMa17ju9YfryMgr TH0nahsPcTV9nJJB6RkGTYZTjXKf9QZ1mYMjPq19Tq4fqm8uWL9Tc0xMye4OVC0VFP+r kEWNgd7tKshApkVODO6NrbgxiJG8PMZ/ejLbdUgSLe2AfHW2J2D0xEXbgPngo4gCW4HJ LW7LxIzzZOV2dMP5OEW6XTZJatbyUwB3S40+yuoI/3fqA2nf0BcXA4nb/hpLaDkpHKqA VkkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=nXxBYvYmKxouMcZlkVJQl/q1L/EByDXUxEAwhrEUQUQ=; b=TUNv4s+H2iccimH3dx8eS62ZqMKjUB6+Gns2HR5vNg8C3LIcU11zaIPWUDiMpz/mlL aMYj3e5+KBthrql6b4mleZi3hQsd/JV7PT0+vJGtc0QPSC3/6xA4+P/LMhwvUmw9L+sh a+K7hFaL3RsXMdCKoSro6eViiR+ZkQpYfvRZNeSNEFKlAVG11MMwkmhbqOdJj8aiz7FV U6mizXXDGjkN7sKofGaMmT2+dL57QbHcqVZUbK3KIbOzIgfOVt/xOQRlqXRAxhpHdrp1 A+taxTRTOC+3Z22aTGZuMmJ2XnkneUVv5jZSlqpiKbt4aa9viGErmYJTZzVC5x+mMh+M 87Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hblBiYtY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r15-20020a63a54f000000b00502e28a848esi9614855pgu.353.2023.03.06.07.23.41; Mon, 06 Mar 2023 07:23:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hblBiYtY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230440AbjCFOqY (ORCPT + 99 others); Mon, 6 Mar 2023 09:46:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231190AbjCFOqG (ORCPT ); Mon, 6 Mar 2023 09:46:06 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC50D2E82E; Mon, 6 Mar 2023 06:45:47 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 326Dhvrw008525; Mon, 6 Mar 2023 14:45:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=nXxBYvYmKxouMcZlkVJQl/q1L/EByDXUxEAwhrEUQUQ=; b=hblBiYtYJwFsffDcBNpxEbGD6da685ozODZUHTyf/q5QR+TU3TfWGoXEfrnOHbnKh/SJ nFzFLpGm/CBwMXGBjUE3KMIbxy5q4T6lVB0xbxiUD2xBw08QIfKiDCgKAHrzwMpkX8I3 9Pz1mUPAGU0+HPEbWVtTsmhoftS4i4ciNp2ZX2LDi8VbuHcO62YWM96fsrIs+okw7QEq 2zxSJK958GeTPG8YALvMyl2HBauIFnIDsvzwncnu/dPNyEPhblMHa04mEiPvGEfrCOyF XQoxzMjIQHIre5uOlwkwY2Hg79QsTQD1+x+VX7RYw9sFpfGb8rYPUx5m1OQpfzLLRm2a 4g== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p419d50au-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Mar 2023 14:45:29 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 326EjOON014501; Mon, 6 Mar 2023 14:45:24 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3p4fft5hxu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 06 Mar 2023 14:45:24 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 326EjOji014495; Mon, 6 Mar 2023 14:45:24 GMT Received: from mdalam-linux.qualcomm.com (mdalam-linux.qualcomm.com [10.201.2.71]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 326EjOKM014494; Mon, 06 Mar 2023 14:45:24 +0000 Received: by mdalam-linux.qualcomm.com (Postfix, from userid 466583) id 291C312010CA; Mon, 6 Mar 2023 20:15:23 +0530 (IST) From: Md Sadre Alam To: loic.poulain@linaro.org, rfoss@kernel.org, linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_sjaganat@quicinc.com, quic_srichara@quicinc.com, quic_varada@quicinc.com, quic_mdalam@quicinc.com Subject: [PATCH 3/5] i2c: qcom-cci:Use devm_platform_get_and_ioremap_resource() Date: Mon, 6 Mar 2023 20:15:22 +0530 Message-Id: <20230306144522.15699-1-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: tEIPnkK23uXSScqfu_5DGPFAF-EPwQYy X-Proofpoint-GUID: tEIPnkK23uXSScqfu_5DGPFAF-EPwQYy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-06_08,2023-03-06_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 clxscore=1011 suspectscore=0 mlxlogscore=749 adultscore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303060130 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759632409368385325?= X-GMAIL-MSGID: =?utf-8?q?1759632409368385325?= Convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Md Sadre Alam Acked-by: Robert Foss --- drivers/i2c/busses/i2c-qcom-cci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-qcom-cci.c b/drivers/i2c/busses/i2c-qcom-cci.c index 01358472680c..ed70bc1e4926 100644 --- a/drivers/i2c/busses/i2c-qcom-cci.c +++ b/drivers/i2c/busses/i2c-qcom-cci.c @@ -581,8 +581,7 @@ static int cci_probe(struct platform_device *pdev) /* Memory */ - r = platform_get_resource(pdev, IORESOURCE_MEM, 0); - cci->base = devm_ioremap_resource(dev, r); + cci->base = devm_platform_get_and_ioremap_resource(pdev, 0, &r); if (IS_ERR(cci->base)) return PTR_ERR(cci->base); From patchwork Mon Mar 6 14:46:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 64777 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1906454wrd; Mon, 6 Mar 2023 07:32:47 -0800 (PST) X-Google-Smtp-Source: AK7set+WLfAKtawZeDDPJjdbihCLGLna3BlZDJRdsieJAx+OIC8rUuTzVjvbJt+xeJbXKhWBvWC3 X-Received: by 2002:a17:907:8a0a:b0:906:449c:e2e with SMTP id sc10-20020a1709078a0a00b00906449c0e2emr12178010ejc.34.1678116767447; Mon, 06 Mar 2023 07:32:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678116767; cv=none; d=google.com; s=arc-20160816; b=YTQMMZdsM8G5VwjnWqx489aDTfKjA5pnvfQRjwaJU41XtgPLGwVbACB/mc5RC3GmVm uYuoIMpYZvgeND57HBK68cG0g4rDccIsniI6a/WT42Xwr7TBrlUoZKmvEN+Qh43exbFy BLj6C3Lr9ub+0oO/9s/Wc+VA3i7ychM3T3ZU9Si+Va5hNUD8yv2tscFyjD1T9KYhPfws ktFnsWxCwPk2Ch3h7ayxbsetqrdMbZTvCyU/XW51n6JkeJcHbbir3xsog8hjg/rVQdR4 nLG/qCrXiKqb799lrbZHAXqdf9qqbRGxkUjVWeweXwdT8siJ9XK4yoExM2kK4V55thLH DFLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=5JRGOQbm0JBuLxYt4MzA6HybTg38jSMU6E2GDw++4aI=; b=OyP295xKe9mjCqpQgXi2Zp2RH3i0usi7re6HZHRXdYuxU7FW1qRIeQei7tcQ47V5tW IfqdOf19jORcjNXtApd67RsO+FIAZ4dyU4bGOJ7VVMszWQhiOqd3bOgxSnyuicQB9EF1 qm2nn0F9uejKWuo9ANpej2TlBtA6BdhJU7Xpha3GjjfIdeyF9woB8QjN9CD2i2GYKQHD fDVGsySuge/bwqNHoOl+izMgo/ZLUfdbCHIjXswFeXnmL5rOpd3TS6MJMer9K5bc3F+6 +mpa+wN8Yf04448N+IyWxTh/s0jQMYJhg7+5bamCGv5QXEqW5LhbVvu+R032DsyyU7za oE/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="YvcQA/w0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gh23-20020a170906e09700b008cdb0cd5e80si8104844ejb.107.2023.03.06.07.32.22; Mon, 06 Mar 2023 07:32:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="YvcQA/w0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230430AbjCFPAN (ORCPT + 99 others); Mon, 6 Mar 2023 10:00:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbjCFPAL (ORCPT ); Mon, 6 Mar 2023 10:00:11 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEC052A9B6; Mon, 6 Mar 2023 07:00:07 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3266RFn2000531; Mon, 6 Mar 2023 14:46:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=5JRGOQbm0JBuLxYt4MzA6HybTg38jSMU6E2GDw++4aI=; b=YvcQA/w0B4Eh5GEtqz1bFrzdyRybeccuvt7or/616AUwSXvc/Amkmx7z16nh+ZMEH31j ahZKViNqmJuhXjGVofKRGcQ8II/Q4a/UwuBhrCcVd1zjaMsk5J61zjv8+pPoY/IYMfSD BLoiELGjaDdL2pelJC4fR1E32upGn5zW2PiOq6V2AQlU9mqrKKsFcB9awm3fOG8/niHi IeVIJ25M7TVK9eiXhov3z36vlnxaHDKUbNViO3OOnJ5RnYDS6uGcAiP45OlbN3ezMUOe AO8zYMEfqQeUFJiDTFCMAboZ+FkcxU7w1BfXHmUjTo/N4bKlkD5yAdQmSgrAvA302t9B Tw== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p417d4y1p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Mar 2023 14:46:46 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 326EkheE017348; Mon, 6 Mar 2023 14:46:43 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3p4fft5j33-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 06 Mar 2023 14:46:43 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 326EfjQG011965; Mon, 6 Mar 2023 14:46:43 GMT Received: from mdalam-linux.qualcomm.com (mdalam-linux.qualcomm.com [10.201.2.71]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 326EkhVT017343; Mon, 06 Mar 2023 14:46:43 +0000 Received: by mdalam-linux.qualcomm.com (Postfix, from userid 466583) id 51EE712010CA; Mon, 6 Mar 2023 20:16:42 +0530 (IST) From: Md Sadre Alam To: andersson@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, linus.walleij@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_sjaganat@quicinc.com, quic_srichara@quicinc.com, quic_varada@quicinc.com, quic_mdalam@quicinc.com Subject: [PATCH 4/5] pinctrl: qcom: Use devm_platform_get_and_ioremap_resource() Date: Mon, 6 Mar 2023 20:16:41 +0530 Message-Id: <20230306144641.21955-1-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: IYc9OB0druSbGCCo8z-rf0Daqc6MsuQj X-Proofpoint-ORIG-GUID: IYc9OB0druSbGCCo8z-rf0Daqc6MsuQj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-06_08,2023-03-06_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 spamscore=0 malwarescore=0 bulkscore=0 mlxlogscore=656 phishscore=0 clxscore=1011 adultscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303060130 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759632967851702869?= X-GMAIL-MSGID: =?utf-8?q?1759632967851702869?= Convert platform_get_resource(), devm_ioremap_resource() to a single call to devm_platform_get_and_ioremap_resource(), as this is exactly what this function does. Signed-off-by: Md Sadre Alam --- drivers/pinctrl/qcom/pinctrl-msm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c index daeb79a9a602..e25e7b5cdda2 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.c +++ b/drivers/pinctrl/qcom/pinctrl-msm.c @@ -1480,8 +1480,7 @@ int msm_pinctrl_probe(struct platform_device *pdev, return PTR_ERR(pctrl->regs[i]); } } else { - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - pctrl->regs[0] = devm_ioremap_resource(&pdev->dev, res); + pctrl->regs[0] = devm_platform_get_and_ioremap_resource(pdev, 0, &res); if (IS_ERR(pctrl->regs[0])) return PTR_ERR(pctrl->regs[0]); From patchwork Mon Mar 6 14:48:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Md Sadre Alam X-Patchwork-Id: 64765 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1901500wrd; Mon, 6 Mar 2023 07:23:29 -0800 (PST) X-Google-Smtp-Source: AK7set9B4+rDhPNSwDl7pz+lMQKnAwDrWciM7KpK1DJXLC89Tzd8ALRybcSbXG+wUp2BuSbrpR83 X-Received: by 2002:a17:902:da90:b0:19a:a0d0:10f0 with SMTP id j16-20020a170902da9000b0019aa0d010f0mr13824264plx.23.1678116209147; Mon, 06 Mar 2023 07:23:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678116209; cv=none; d=google.com; s=arc-20160816; b=m1zAS1MKYN4b6oS8Pk5tc8VSA7N78YwWNHYniL6WjSHZPK0ez5bCmCnZGzIUoG1k6R BXnfPinlFlNoiVs5wiI2M+B7dfrSKmvzjQiAI18Bh2GQMmNb3MF/s13gVYyOmIeWBA3O 2OjJqv0XzmOz33Vqrx0+fMb7QocV/fG7OCKBNaTZk7A7D/Si1JxTXMSYONtsoByDSsM0 UPNGKVZ5L03WUIMAWmSXHWRrnwbKgi0m+XN3GKVQFdI10WxlGt+OuhxhTbLK0ymmvco+ DT9RU3lB0sd9oeQzaaTUVIK9Q3yXW4tcASIQ+FDsnA/BBfTy3bKKvrSdrp4epQLpktYz itxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=wVTC4Q0LT3YwvLMJ74q3RRO4VzGWhpReLaEZ6kOGOjU=; b=CHRXHHxLrA/enQeiJV2leRPn8r1BCP5s6BWvhzoTEBRNzCY2MxgsmNnoYX/6U5fKlq oeutDhH2y+bSMVyAh2YS3oc5sWYH2jdKc1d6dNRXyLu3jvZfcUUzb++sNGuWZ87KFx/P OU+EcxqhgQmfSgy098W+0C8UQT5wScsKZe/Z/ZTu+d7a+4EJ8mD9fpqReiXTvEe0FKVm IFGlAR1YmyQfktIiEz/uUtum2Q4XtYxrOtHBQQBkNjFFFE9qN0JJjw5bxgZ+9lRoksdB iWqOtKaoJypOC+aUHYfZGlgqtrMIlP40KHCnTSURcWN/LonBRf/8ElJs5XyRiP4Xkdui 3K1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hHoXNYDq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a1709029a8800b00194a9a78b2bsi8763778plp.68.2023.03.06.07.23.16; Mon, 06 Mar 2023 07:23:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hHoXNYDq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230004AbjCFOs7 (ORCPT + 99 others); Mon, 6 Mar 2023 09:48:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjCFOsw (ORCPT ); Mon, 6 Mar 2023 09:48:52 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975D82CFC5 for ; Mon, 6 Mar 2023 06:48:35 -0800 (PST) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 326DgsKt005152; Mon, 6 Mar 2023 14:48:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=wVTC4Q0LT3YwvLMJ74q3RRO4VzGWhpReLaEZ6kOGOjU=; b=hHoXNYDqZrq+Krf4b8bp2Fl9sQRumlYnP8NazM0eLdgg02/kxoH3CZzmHG7j5l1IWB9l xXkvQVJD2LeselaQk1ktUL5XxQ7kiKem3mct69tFA35DJRm/tbjL50/UCNXXiFN3FtDE HNNqaCudtDAVFDCFTqWhtE7uOwEk0PaoMLzbAWh71VR1NTBYuaJLVyFDf4rX0SzbuyfG jzbPPCbre6l5WQW3OozB1AgEMcWgO/i9pobEy6b+t3dqg5MiYHXPDUMkNRcyEfLHFPSA YM0Ll1d+xcdMPAJTXa6lLij58gsxZfK9ge3aizaw48zYsFLJVhCbO1AqAVJW4Nz3tlID DQ== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p419151dc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Mar 2023 14:48:17 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 326EmDPa018021; Mon, 6 Mar 2023 14:48:13 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3p4fft5j5g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 06 Mar 2023 14:48:13 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 326EfjQI011965; Mon, 6 Mar 2023 14:48:12 GMT Received: from mdalam-linux.qualcomm.com (mdalam-linux.qualcomm.com [10.201.2.71]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 326EmCk1018016; Mon, 06 Mar 2023 14:48:12 +0000 Received: by mdalam-linux.qualcomm.com (Postfix, from userid 466583) id A926112010CA; Mon, 6 Mar 2023 20:18:11 +0530 (IST) From: Md Sadre Alam To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: quic_sjaganat@quicinc.com, quic_srichara@quicinc.com, quic_varada@quicinc.com, quic_mdalam@quicinc.com Subject: [PATCH 5/5] mtd: rawnand: Fix spelling mistake waifunc() -> waitfunc() Date: Mon, 6 Mar 2023 20:18:10 +0530 Message-Id: <20230306144810.22078-1-quic_mdalam@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: NFv1m6xKYlTOOm9i4MozZSTPosqoRhLu X-Proofpoint-GUID: NFv1m6xKYlTOOm9i4MozZSTPosqoRhLu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-06_08,2023-03-06_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=848 clxscore=1015 impostorscore=0 bulkscore=0 spamscore=0 phishscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303060130 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759632382083630507?= X-GMAIL-MSGID: =?utf-8?q?1759632382083630507?= There is a spelling mistake in a chip->legacy.waifunc(). Fix it. Signed-off-by: Md Sadre Alam --- include/linux/mtd/rawnand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index f8d4be9c587a..5159d692f9ce 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -1075,7 +1075,7 @@ static inline void nand_op_trace(const char *prefix, * @exec_op: controller specific method to execute NAND operations. * This method replaces chip->legacy.cmdfunc(), * chip->legacy.{read,write}_{buf,byte,word}(), - * chip->legacy.dev_ready() and chip->legacy.waifunc(). + * chip->legacy.dev_ready() and chip->legacy.waitfunc(). * @setup_interface: setup the data interface and timing. If chipnr is set to * %NAND_DATA_IFACE_CHECK_ONLY this means the configuration * should not be applied but only checked.