From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7E40C74A44 for ; Tue, 14 Mar 2023 05:00:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbjCNFA5 (ORCPT ); Tue, 14 Mar 2023 01:00:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229624AbjCNFA4 (ORCPT ); Tue, 14 Mar 2023 01:00:56 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67E0E6A1C0; Mon, 13 Mar 2023 22:00:54 -0700 (PDT) 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 32E3Y33m031088; Tue, 14 Mar 2023 05:00:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=09+L3X9WOnPGkKXx0iLTB1jDTGqT/PqV4S5cJu5lzpU=; b=ZoAilHJYwAT3YoeiYmXT6w4lARma/4g5R7k3RWY/XUwYPYvpIRNGLsIpkpnQ3C3wdTKZ 2Rc6JW1aMlZWcZi7TakZmxKWYkwxaKJGZBrxT7eRMJc49VIyZmTQx9BoWzGeZHoQpC+p SE1smuVbUh6leSWxQJYWRpepmVlG9kaM2q5r8Zu0C9xUH2I11/TlTwdCTD/JSnbDyh1h 0OeB7/MS7L/snx7PSBnZVy3dohCSWNn0r7yS0g+WYp9ah2f3BLRknyKesyrdmTaJARow apBIPpZMiKmOJAWWRo13ucG8J1PVRHMiQkyziar+CU33nz3UaeE3D8cvktKHh7llVo9p Hw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pa9gfh6dp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 05:00:49 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32E50SBn016580 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 05:00:28 GMT Received: from kathirav-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 13 Mar 2023 22:00:25 -0700 From: Kathiravan T To: , , , , , , , , CC: Kathiravan T Subject: [PATCH V2 2/3] mailbox: qcom-apcs-ipc: drop the IPQ8074 and IPQ5332 compatible Date: Tue, 14 Mar 2023 10:30:04 +0530 Message-ID: <20230314050005.10409-3-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230314050005.10409-1-quic_kathirav@quicinc.com> References: <20230314050005.10409-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: uDavXBrkprClk5uY4uh5wL9Ek6SPQk0K X-Proofpoint-ORIG-GUID: uDavXBrkprClk5uY4uh5wL9Ek6SPQk0K X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-13_13,2023-03-13_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 clxscore=1015 phishscore=0 bulkscore=0 spamscore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303140044 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Since the IPQ8074 and IPQ5332 mailbox are compatible with IPQ6018, we can use the compatible fallback to IPQ6018. With that, we can drop the IPQ8074 and IPQ5332 compatible references, as well we don't bloat the of_device_id table. Suggested-by: Krzysztof Kozlowski Signed-off-by: Kathiravan T --- Changes in V2: - No changes drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index 6bbf87c6d60b..3906bd655991 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -141,9 +141,7 @@ static int qcom_apcs_ipc_remove(struct platform_device *pdev) /* .data is the offset of the ipc register within the global block */ static const struct of_device_id qcom_apcs_ipc_of_match[] = { - { .compatible = "qcom,ipq5332-apcs-apps-global", .data = &ipq6018_apcs_data }, { .compatible = "qcom,ipq6018-apcs-apps-global", .data = &ipq6018_apcs_data }, - { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data }, { .compatible = "qcom,msm8916-apcs-kpss-global", .data = &msm8916_apcs_data }, { .compatible = "qcom,msm8939-apcs-kpss-global", .data = &msm8916_apcs_data }, { .compatible = "qcom,msm8953-apcs-kpss-global", .data = &msm8994_apcs_data }, -- 2.17.1