On 11/24/2014 08:50 PM, Nikolaus Schulz wrote:
[...]
+const struct iio_chan_spec dac8554_channels[] = {
static
[...]
+ ret = of_property_read_u32(spi->dev.of_node, "address", &addr);
This should probably have vendor prefix.
+ if (ret || addr < 0 || addr > 2) {
+ dev_err(&spi->dev, "no or invalid chip address");
+ return -ENODEV;
+ }
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/