summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/rk808-regulator.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2017-07-20 10:42:17 +0200
committerMark Brown <broonie@kernel.org>2017-07-20 13:19:19 +0200
commitd110e3e921742980a54c27f16086dc5a6c1aecd7 (patch)
tree31e31d13ed5c861f1a9e2cf4fdb18242e15895fc /drivers/regulator/rk808-regulator.c
parentLinux v4.13-rc1 (diff)
downloadlinux-d110e3e921742980a54c27f16086dc5a6c1aecd7.tar.xz
linux-d110e3e921742980a54c27f16086dc5a6c1aecd7.zip
regulator: fan53555: Use of_device_get_match_data() to simplify probe
if fan53555_regulator_probe() is called and the "client->dev.of_node" isn't NULL, it means OF registered a device with a valid compatible string, so match cannot be NULL. Use of_device_get_match_data() to retrieve the drvdata pointer. No functional change intended. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/rk808-regulator.c')
0 files changed, 0 insertions, 0 deletions