From: Jonathan Cameron Date: Mon, 27 Jun 2011 12:07:25 +0000 (+0100) Subject: staging:iio:adc:ad7745 allocate chip state with iio_dev and use iio_priv to access. X-Git-Tag: v3.1-rc1~232^2~475 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=febafb94d669bf60b3ccad918d3fddcb66450092;p=pandora-kernel.git staging:iio:adc:ad7745 allocate chip state with iio_dev and use iio_priv to access. Also remove the iio_dev pointer from chip state as never needed. V2: Actually allocate the space for iio_priv data. Signed-off-by: Jonathan Cameron Acked-by: Michael Hennerich Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed