]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: sec-core: Rename MFD and regulator names differently
authorAlim Akhtar <alim.akhtar@samsung.com>
Fri, 20 Nov 2015 10:48:26 +0000 (16:18 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 24 Nov 2015 11:11:16 +0000 (11:11 +0000)
commit2d69eb22e10fa60ca453b3c206bc91adf1723fe4
treee8e4ed48b924186c86902c5759e5712c0ac0cbcc
parent070d39c87732edba765c03b774af8cc6b13813fc
mfd: sec-core: Rename MFD and regulator names differently

Currently S2MPSXX multifunction device is named as *-pmic,
and these MFDs also supports regulator as a one of its MFD cell which
has the same name, because current name is confusing and we want to
sort it out.

We did discussed different approaches about how the MFD and it
cells need to be named here [1].
Based in the discussion this patch rename MFD regulator name as
*-regulator instead of current *-pmic.

This patch also changes the corresponding entries in the regulator driver
to keep git-bisect happy.

[1]-> https://lkml.org/lkml/2015/10/28/417

Suggested-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sec-core.c
drivers/regulator/s2mps11.c