diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-04-04 14:08:18 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-04-08 17:40:49 +0100 |
commit | e932d4f041a487debc31e98c8b70baa861532272 (patch) | |
tree | c71d4fd809c4c3ba9fd7c4ee739e4784f2b4abc2 /Documentation/driver-api | |
parent | 96b3c833035ee3e591361c1b424d3ae87241133c (diff) | |
download | op-kernel-dev-e932d4f041a487debc31e98c8b70baa861532272.zip op-kernel-dev-e932d4f041a487debc31e98c8b70baa861532272.tar.gz |
iio: adc: break out common code from SPMI VADC
The SPMI VADC and the earlier XOADC share a subset of
common code, so to be able to use the same code in both
drivers, we break out a separate file with the common code,
prefix exported functions that are no longer static with
qcom_* and bake an object qcom-spmi-vadc.o that contains both
files: qcom-vadc-common.o and qcom-spmi-vadc-core.o.
As we need to follow the procedure for making a kernel module
or compiled in object from several files, but still want to
produce the same module name, rename the qcom-spmi-vadc.c
file to qcom-spmi-vadc-core.c so we can bake the two objects
into qcom-spmi-vadc.o
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Cc: Ivan T. Ivanov <iivanov.xz@gmail.com>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Rama Krishna Phani A <rphani@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions