staging:iio:light:isl29018: allocate device state with iio_dev
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 27 Jun 2011 12:07:57 +0000 (13:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:39:51 +0000 (14:39 -0700)
commit927afbec71d62dd766d134b61f71d22b91b20713
tree4d39b7151db4826dbe880e8f35e504b432770dde
parent88fa4de48e57bf942dd98028660c56588928124a
staging:iio:light:isl29018: allocate device state with iio_dev

V2: Actually allocate the space for iio_priv

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