staging:iio:accel:kxsd9: allocate state with iio_dev and use iio_priv to access.
commited0c012b855f6f73431b62c8db70ed5a1b0c8a25
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 27 Jun 2011 12:17:56 +0000 (27 13:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:39:36 +0000 (28 14:39 -0700)
tree805d6d86bd67c55dce37c4001090d620ffee5360
parent83f0422dc6a16ffa03d284b8dcce1344a91f79df
staging:iio:accel:kxsd9: allocate state with iio_dev and use iio_priv to access.

V2: Actually allocate the storage.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/kxsd9.c