Hello,
my name's Anthony & I need some help with the following:
Reading ADC values from mcp3208 on the spi bus within my custom made
kernel module.
I'm able to read spi values thru /sys/bus/iio/devices/iio:device0 no
problems but I need access it from within my drivers.
I've tried using dev_to_iio_dev(dev) but can't seem to claim the *dev
allocated for the spi device.
How can I get a ref * to the device?
How can I tackle this using iio method?
Thanks i advanced!
Anthony
--
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