staging:iio:adc:ad799x use a table for frequency values rather than big switch.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 30 Sep 2011 09:05:33 +0000 (10:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 23:07:02 +0000 (16:07 -0700)
commit24cba40615aff04a4654db90545d07d41ffa7ba5
tree5ff55dccaa321257c937842e0d842969bb29c54c
parent5357ba3df4af9da111fb351292c9a410b1f7ab0a
staging:iio:adc:ad799x use a table for frequency values rather than big switch.

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