commit | 338473c8194b45eb28bae737fc7aa8e7f4fe7330 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Mon Jun 27 13:07:54 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jun 28 14:39:51 2011 -0700 |
tree | b73847de52a91ec3b44c7e51d2cbc5faa5c476d5 | |
parent | 58f08b0af857ba8546ae35a20fdfe346ba58d75d [diff] |
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 <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>