Home
last modified time | relevance | path

Searched hist:f2b269b83de35a022a8df5d0133f64021f08592c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Danatop-regulator.cdiff f2b269b83de35a022a8df5d0133f64021f08592c Mon Jan 06 06:13:15 CST 2014 Fabio Estevam <fabio.estevam@freescale.com> 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>