OSDN Git Service

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)
commit02abec3616c1b2027efc7e08abf7fc0d2436a837
tree7996dc3fa1daa82bb28b2f5e043e4b98601bbb2b
parentb319b5922db204a328e02797a50a3898576bf1fc
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