]> www.infradead.org Git - users/dwmw2/linux.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)
commitccf22a48cc8789a35befea783448c259463a5eef
treecd10f1dc9c522041b2a9940ce634081c81f19290
parentba194232edc032be2188ed792330bdd7bd5d4363
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: 1d7b61c06dc3 ("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