mfd: tps65218: add version check to the PMIC probe
authorTero Kristo <t-kristo@ti.com>
Wed, 10 Aug 2016 12:23:54 +0000 (17:53 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 10 Aug 2016 17:21:55 +0000 (18:21 +0100)
commitf11fa1796a4b4f8c6d4ced37e8824276ec57057d
tree9a16e75129af2075584a071818375c6fe90574c8
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
mfd: tps65218: add version check to the PMIC probe

Version information will be needed to handle some error cases under the
regulator driver, so store the information once during MFD probe.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/mfd/tps65218.c
include/linux/mfd/tps65218.h