summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/axp20x.c
diff options
context:
space:
mode:
authorPankaj Dubey <pankaj.dubey@samsung.com>2014-04-30 04:14:26 +0200
committerLee Jones <lee.jones@linaro.org>2014-06-03 09:11:24 +0200
commit45330bb434214c83841171eb4c591da74367a589 (patch)
tree20ff4a21a98ebe6c93878f031efc0f485a3ad01e /drivers/mfd/axp20x.c
parentmfd: pm8921: Remove pm8xxx API now that sub-devices use regmap (diff)
downloadlinux-45330bb434214c83841171eb4c591da74367a589.tar.xz
linux-45330bb434214c83841171eb4c591da74367a589.zip
mfd: syscon: Allow property as NULL in syscon_regmap_lookup_by_phandle
If we pass syscon device node itself as first parameter to this function there is no need to parse and find syscon device node. So by allowing "property" parameter as NULL allow syscon_regmap_lookup_by_phandle to consider passed argument "np" itself as a syscon device node "syscon_np". This will help us in avoiding addition of "syscon" property in a device node which points back to same device node in device tree. Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/axp20x.c')
0 files changed, 0 insertions, 0 deletions