]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e86a8df26be0f57144627298ba0f8270d91c615
treee026b14a2dc539449ccbfb9e13c351658984fc62
parentace6b50577528f7d8b3d1117c79f9b838a0c7790
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]