]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: virtio: Fix warning on bindings by removing the of_match_table
authorArnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Wed, 5 Oct 2022 08:13:17 +0000 (10:13 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 5 Oct 2022 15:20:44 +0000 (09:20 -0600)
commitda6bd031bb48231e7f1b1650b3d9d35adaf1ceff
treecd10f1dc9c522041b2a9940ce634081c81f19290
parent415b0a3b9bca515e5cca77ebbb2905ec606bb8c7
remoteproc: virtio: Fix warning on bindings by removing the of_match_table

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.

Suggested-by: Rob Herring <robh@kernel.org>
Fixes: 65a601de2cb5 ("remoteproc: virtio: Create platform device for the remoteproc_virtio")
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221005081317.3411684-1-arnaud.pouliquen@foss.st.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/remoteproc_virtio.c