diff options
author | Axel Lin <[email protected]> | 2014-02-19 16:34:11 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-02-19 21:18:54 +0900 |
commit | 413be59e2f33382305876b17f218666d03cf3aac (patch) | |
tree | 533183d9c3ff073a8cb7a64b2fac431b6b6bf0c2 /tools/perf/util/trace-event-scripting.c | |
parent | c46b5295ac3db8ac20e8970ce668b8e784833eee (diff) |
regulator: tps65218: Remove unnecessary regulator_unregister call
Current code uses devm_regulator_register() so the we don't need to explicitly
call regulator_unregister() in .remove.
And then we don't need to save rdev pointer to tps->rdev[id].
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Keerthy <[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