diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-01-06 16:13:15 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-06 16:20:19 +0400 |
commit | f2b269b83de35a022a8df5d0133f64021f08592c (patch) | |
tree | bb76330673dddf54bb0dc1195bca876c80e51dfa /drivers/regulator/fan53555.c | |
parent | 89705b9e35026ad75a8ba940d641aa2be7a16611 (diff) | |
download | linux-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