aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2014-01-06 10:13:15 -0200
committerMark Brown <[email protected]>2014-01-06 12:20:19 +0000
commitf2b269b83de35a022a8df5d0133f64021f08592c (patch)
treebb76330673dddf54bb0dc1195bca876c80e51dfa /tools/perf/util/trace-event-scripting.c
parent89705b9e35026ad75a8ba940d641aa2be7a16611 (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 <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions