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)
commite95d073c8ce397a8e77c36a208be978060bb214f
tree1d830cc398f4278aca9cbc47842e297818d56f86
parentcdeef07a8dd5ea45b2f2ec4169d2669dddd24e6c
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