]> 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)
commit566f4892b27b8a9fcd1090231d2fc6bcd74f0ce8
treecd10f1dc9c522041b2a9940ce634081c81f19290
parent8aa4e4534ac57fe7121f098195add407d9fe24a5
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: b86b52d66a86 ("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