Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp840838rwb; Tue, 4 Oct 2022 11:21:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6M0vx0NvxVHkZEwjHW9IviV08vnx2jblAuo6zH87lrjKNcEhy4yacjYRP4iTAuY3U7O0r1 X-Received: by 2002:a17:90b:38ca:b0:203:64d2:dac5 with SMTP id nn10-20020a17090b38ca00b0020364d2dac5mr938873pjb.209.1664907697945; Tue, 04 Oct 2022 11:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664907697; cv=none; d=google.com; s=arc-20160816; b=wwz/iTZBIHJdAstGHJUF7J4u9GyADc2W2sOWZ/oXth3vXF5dF8/Ag0CeDNxuc8axQC JQtS4Dy/tmWAdUNPIg/1qLp2gp8wNX/lECh//lqQ90oRDEywNCukiDLeAisaANgcxJbz 9mWCRPjCzCeBCuO+yGiQdHbCccE4ot1nB2/EWeIY6jVc6B7XjlfaIBTqf/0lr/0yAnu7 iCuqAn6KPNN1gdLanaIOX2NQ+iCSn0nfJh5Ev7Fd9DQy6/p92Xi0nDDxIYHdlypppYUY ShAqKEZRVamSbSm2Mg5eF+NcR3pl+O8J7nIz7ALE97lEQRn4k5Xjjjt9qJ1N/a/AfGT3 U33g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=giapiNY7TCRzpUo88U0f93okWpLLKpJ1FSwj1WrxUAs=; b=z5m6uXJf2B6ZtKXzezPxVBCuqxGCWyzqJB5CoBsb8GhYEHsz0JUfu6ssnMJe6hWDGF rwLlXvcoVlw215jmujZAzK9zmlMOvLLyR023r3ZCkefvKFX9kikqdITQvZ3RvPfhc0Qw zQK+S4WJJaa1KbCHTh5I8aiqaRQzNPc0PZcWpCNEXzOU683t8XTpp9JB/yzU6sNXtODY fExqjvHMd0rr27rphqr5h1U2UsdFUg+g30/YrZSaD8vYfV45QBBs/lyGYGvO5IEdBC66 0y1oiKEXh2E2Vwu+443z+2vcI6sPaSBSlY6yFULebydIpqmQWCGkDTth1v46kS6lQ+vp 0igA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=JJcGzU9S; 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=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a17090acf8200b00202dbe5fc51si1105299pju.103.2022.10.04.11.21.26; Tue, 04 Oct 2022 11:21:37 -0700 (PDT) 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=@foss.st.com header.s=selector1 header.b=JJcGzU9S; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbiJDRlL (ORCPT + 99 others); Tue, 4 Oct 2022 13:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbiJDRkk (ORCPT ); Tue, 4 Oct 2022 13:40:40 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D55221E32; Tue, 4 Oct 2022 10:40:36 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 294GTKiJ011068; Tue, 4 Oct 2022 19:40:30 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=giapiNY7TCRzpUo88U0f93okWpLLKpJ1FSwj1WrxUAs=; b=JJcGzU9SS/qMFd/uT0HTdhAuUsnp96CrnRib9NWFhe+aduh3mBv9yEpVbBzzrapNQnqX XOOgxAh3Ix269nuKYuqlOQOAwKkBA1NcwofP85BXMne6i5lIFK72tKQa9KLDN0h/JFe/ 8vypCt43d/csgUIuSlRUn85VcpSkbWaCV1CSnpMbzJXAXr6BzomEolF+SFOQJGYBh0Dk aEO44vBxUcm3KKS594xbiBgmYDz8zy82YpLXFUwUmh/MEYZ47YdDSVQvDubdZvuCo8ma /gZ4gJspqe9TxeZDNRJschL9fN3OLOuvVZ+Ct69L/+z1z8qt0IWEEtAC6nFBGOF8khBN Cg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3jxcw21qh2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Oct 2022 19:40:30 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7433610002A; Tue, 4 Oct 2022 19:40:24 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id E5BA825225C; Tue, 4 Oct 2022 19:40:24 +0200 (CEST) Received: from localhost (10.75.127.117) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Tue, 4 Oct 2022 19:40:24 +0200 From: Arnaud Pouliquen To: Bjorn Andersson , Mathieu Poirier , Rob Herring CC: , , , Subject: [PATCH] remoteproc: virtio: Fix warning on bindings by removing the of_match_table Date: Tue, 4 Oct 2022 19:40:18 +0200 Message-ID: <20221004174018.3319712-1-arnaud.pouliquen@foss.st.com> X-Mailer: git-send-email 2.24.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.117] X-ClientProxiedBy: GPXDAG2NODE4.st.com (10.75.127.68) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-04_08,2022-09-29_03,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS 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 The checkpatch tool complains that "virtio,rproc" is not documented. But it is not possible to probe the device "rproc-virtio" by declaring it in the device tree. So documenting it in the bindings does not make sense. This commit solves the checkpatch warning by suppressing the useless of_match_table. Fix-suggested-by: Rob Herring Fixes: 1d7b61c06dc3 ("remoteproc: virtio: Create platform device for the remoteproc_virtio") Signed-off-by: Arnaud Pouliquen --- drivers/remoteproc/remoteproc_virtio.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/remoteproc/remoteproc_virtio.c b/drivers/remoteproc/remoteproc_virtio.c index a29e3b8ff69c..26a7d8c498bc 100644 --- a/drivers/remoteproc/remoteproc_virtio.c +++ b/drivers/remoteproc/remoteproc_virtio.c @@ -593,17 +593,11 @@ static int rproc_virtio_remove(struct platform_device *pdev) } /* Platform driver */ -static const struct of_device_id rproc_virtio_match[] = { - { .compatible = "virtio,rproc" }, - {}, -}; - static struct platform_driver rproc_virtio_driver = { .probe = rproc_virtio_probe, .remove = rproc_virtio_remove, .driver = { .name = "rproc-virtio", - .of_match_table = rproc_virtio_match, }, }; builtin_platform_driver(rproc_virtio_driver); -- 2.24.3