summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorFenglin Wu <quic_fenglinw@quicinc.com>2024-04-16 05:44:32 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-04-18 01:27:12 +0300
commit6d84ec254a2283c7a97a89b0dbdc4a6854bf395f (patch)
treed8fd38cc2d2d30b0ebcf91d974ab67293fd14ea9 /rust/helpers/build_bug.c
parent48c0687a322d54ac7e7a685c0b6db78d78f593af (diff)
downloadlinux-6d84ec254a2283c7a97a89b0dbdc4a6854bf395f.tar.xz
input: pm8xxx-vibrator: refactor to support new SPMI vibrator
Currently, vibrator control register addresses are hard coded, including the base address and offsets, it's not flexible to support new SPMI vibrator module which is usually included in different PMICs with different base address. Refactor it by using the base address defined in devicetree. Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240416-pm8xxx-vibrator-new-design-v11-1-7b1c951e1515@quicinc.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions