Hi Lars, My email client is eating all the line feeds, so this will have to be out of line with the now unreadable code... Having reorangised code, is the info_to_reg still worth having? Otherwise, all looks good (and feel free to just delete the unused? entry in that switch). Acked-by: Jonathan Cameron <jic23@xxxxxxxxx> -- 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