staging:iio:ad7606: Move buffer code to main source file
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 19 Oct 2016 17:07:08 +0000 (19:07 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:34:18 +0000 (19:34 +0100)
commitfa23105f85749923569a53139a1bb3465bba604d
treee026b14a2dc539449ccbfb9e13c351658984fc62
parent722407a4e8c03a36736ea4a384688cf8cbf87f4b
staging:iio:ad7606: Move buffer code to main source file

Currently the ad7606 buffer handling code resides in its own source file.
But this file contains only 4 small functions of which half are just
wrappers around other functions. Buffer support is also always enabled for
this driver, so move them over to the main source file. This reduces the
amount of boilerplate code.

Also rename the main function from ad7606_core.c to ad7606.c since there is
only a single file now.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/Makefile
drivers/staging/iio/adc/ad7606.c [new file with mode: 0644]
drivers/staging/iio/adc/ad7606.h
drivers/staging/iio/adc/ad7606_core.c [deleted file]
drivers/staging/iio/adc/ad7606_ring.c [deleted file]