This problem arised when adding support for 6.12, but it should be fixed on
older kernels too.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
return 0;
}
-static int msp430_led(struct spi_device *spi, struct device_node *nc, u8 id)
+static int msp430_led_probe(struct spi_device *spi, struct device_node *nc, u8 id)
{
struct device *dev = &spi->dev;
struct led_init_data init_data = {};
continue;
}
- rc = msp430_led(spi, child, reg);
+ rc = msp430_led_probe(spi, child, reg);
if (rc < 0) {
of_node_put(child);
return rc;