media: ir-spi: Remove trailing comma in the terminator entry

Remove trailing comma in the terminator entry in ID table(s).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Andy Shevchenko 2024-03-05 19:48:29 +02:00 committed by Hans Verkuil
parent 37308961cf
commit 3f82a4624a

View file

@ -159,13 +159,13 @@ static int ir_spi_probe(struct spi_device *spi)
static const struct of_device_id ir_spi_of_match[] = {
{ .compatible = "ir-spi-led" },
{},
{}
};
MODULE_DEVICE_TABLE(of, ir_spi_of_match);
static const struct spi_device_id ir_spi_ids[] = {
{ "ir-spi-led" },
{},
{}
};
MODULE_DEVICE_TABLE(spi, ir_spi_ids);