commit | f2b269b83de35a022a8df5d0133f64021f08592c | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Mon Jan 06 10:13:15 2014 -0200 |
committer | Mark Brown <broonie@linaro.org> | Mon Jan 06 12:20:19 2014 +0000 |
tree | bb76330673dddf54bb0dc1195bca876c80e51dfa | |
parent | 89705b9e35026ad75a8ba940d641aa2be7a16611 [diff] |
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>