]> git.baikalelectronics.ru Git - kernel.git/commit
spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other cleanup
authorKiran Gunda <kgunda@codeaurora.org>
Fri, 28 Jul 2017 07:10:37 +0000 (12:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 11:51:19 +0000 (13:51 +0200)
commitace0726973a5ec221b78bad91990dd499038356a
tree7996dc3fa1daa82bb28b2f5e043e4b98601bbb2b
parent1ffdcfbd8316acfe9fd929f08acd70b078b9ee66
spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other cleanup

This patch cleans up the following.

- Rename the "pa" to "pmic_arb".
- Rename the spmi_pmic_arb *dev to spmi_pmic_arb *pmic_arb.
- Rename the pa_{read,write}_data() functions to
  pmic_arb_{read,write}_data().
- Rename channel to APID.
- Rename the HWIRQ_*() macros to hwirq_to_*().

Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi-pmic-arb.c