From: Jonathan Cameron Date: Mon, 27 Jun 2011 12:07:54 +0000 (+0100) Subject: staging:iio:magnetometer:ak8975: allocate chip state with iio_dev. X-Git-Tag: v3.1-rc1~232^2~446 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=338473c8194b45eb28bae737fc7aa8e7f4fe7330;p=pandora-kernel.git staging:iio:magnetometer:ak8975: allocate chip state with iio_dev. Here the ordering is a little tricky, so to keep changes minimal, a copy of the gpio number is introduced. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed