Re: [PATCH v2 2/2] iio: add driver for the TI DAC8554

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux