summaryrefslogtreecommitdiff
path: root/drivers/uwb/umc-drv.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-04-04 15:08:18 +0300
committerJonathan Cameron <jic23@kernel.org>2017-04-08 19:40:49 +0300
commite932d4f041a487debc31e98c8b70baa861532272 (patch)
treec71d4fd809c4c3ba9fd7c4ee739e4784f2b4abc2 /drivers/uwb/umc-drv.c
parent96b3c833035ee3e591361c1b424d3ae87241133c (diff)
downloadlinux-e932d4f041a487debc31e98c8b70baa861532272.tar.xz
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 'drivers/uwb/umc-drv.c')
0 files changed, 0 insertions, 0 deletions