Skip to content

Commit 2f1dddc

Browse files
robherringjic23
authored andcommitted
iio: adc: mcp320x: Drop vendorless compatible strings
The vendorless compatible strings are deprecated and weren't retained when the binding was converted to schema. As a result, they are listed as undocumented when running "make dt_compatible_check". Rather than add them back to the schema, let's just drop them as they are unnecessary. Furthermore, they are unnecessary as the SPI matching will strip the vendor prefix on compatible string and match that against the spi_device_id table. Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 631598c commit 2f1dddc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/iio/adc/mcp320x.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -459,16 +459,6 @@ static int mcp320x_probe(struct spi_device *spi)
459459
}
460460

461461
static const struct of_device_id mcp320x_dt_ids[] = {
462-
/* NOTE: The use of compatibles with no vendor prefix is deprecated. */
463-
{ .compatible = "mcp3001" },
464-
{ .compatible = "mcp3002" },
465-
{ .compatible = "mcp3004" },
466-
{ .compatible = "mcp3008" },
467-
{ .compatible = "mcp3201" },
468-
{ .compatible = "mcp3202" },
469-
{ .compatible = "mcp3204" },
470-
{ .compatible = "mcp3208" },
471-
{ .compatible = "mcp3301" },
472462
{ .compatible = "microchip,mcp3001" },
473463
{ .compatible = "microchip,mcp3002" },
474464
{ .compatible = "microchip,mcp3004" },

0 commit comments

Comments
 (0)