[Linux-stm32] [PATCH] remoteproc: virtio: Fix warning on bindings by removing the of_match_table

Rob Herring robh at kernel.org
Tue Oct 4 20:25:17 UTC 2022


On Tue, Oct 4, 2022 at 12:40 PM Arnaud Pouliquen
<arnaud.pouliquen at foss.st.com> wrote:
>
> 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 <robh at kernel.org>
> Fixes: 1d7b61c06dc3 ("remoteproc: virtio: Create platform device for the remoteproc_virtio")
>
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen at foss.st.com>
> ---
>  drivers/remoteproc/remoteproc_virtio.c | 6 ------
>  1 file changed, 6 deletions(-)

There might be an include you don't need anymore, but otherwise:

Reviewed-by: Rob Herring <robh at kernel.org>



More information about the Linux-stm32 mailing list