]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging:iio:adc:ad799x trivial: use the convenient chan struct.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 30 Sep 2011 09:05:32 +0000 (10:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 23:07:02 +0000 (16:07 -0700)
commit5357ba3df4af9da111fb351292c9a410b1f7ab0a
tree5173796cfea0b39024815ed373f5478e97059985
parent7c626f58ab0095d7614636cc81f6081426903a37
staging:iio:adc:ad799x trivial: use the convenient chan struct.

This is much cleaner than bouncing through the various structures
to get to the same thing.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad799x_core.c