summaryrefslogtreecommitdiff
path: root/drivers/regulator/fan53555.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-01-06 16:13:15 +0400
committerMark Brown <broonie@linaro.org>2014-01-06 16:20:19 +0400
commitf2b269b83de35a022a8df5d0133f64021f08592c (patch)
treebb76330673dddf54bb0dc1195bca876c80e51dfa /drivers/regulator/fan53555.c
parent89705b9e35026ad75a8ba940d641aa2be7a16611 (diff)
downloadlinux-f2b269b83de35a022a8df5d0133f64021f08592c.tar.xz
regulator: anatop-regulator: Remove unneeded kstrdup()
We can simply pass the regulator name via of_get_property() instead of making a copy via kstrdup(). This leads to some code simplification. Suggested-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/fan53555.c')
0 files changed, 0 insertions, 0 deletions