]> git.baikalelectronics.ru Git - kernel.git/commit
spmi: pmic-arb: return __iomem pointer instead of offset
authorKiran Gunda <kgunda@codeaurora.org>
Fri, 28 Jul 2017 07:10:44 +0000 (12:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 11:51:19 +0000 (13:51 +0200)
commit943d74b3e3ef8d33dd5a0a8def2f900d12f17ee8
tree1d830cc398f4278aca9cbc47842e297818d56f86
parentb551637c782b197cda3493276a8159379267cf5a
spmi: pmic-arb: return __iomem pointer instead of offset

Modify the pmic_arb version ops to return an __iomem pointer
to the address instead of an offset. That way we do not need to
care about the base address changes in the new HW version.

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