diff options
author | Rui Miguel Silva <[email protected]> | 2017-05-12 21:16:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-05-15 11:37:26 +0200 |
commit | 2c8e3f44f708a89a2c73a25a134af8c23998a2bc (patch) | |
tree | 182bcf796cf8c75c6035c3a45965c5d698f9198a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 050161ea3268ad72d276bc2c327e9654048a82b2 (diff) |
staging: typec: fusb302: do not free gpio from managed resource
When allocating a gpio using the managed resource devm_, we can avoid freeing it
manually. But even if we did it we should use devm_gpio_free.
So, just remove the free of the gpio in the error path.
Signed-off-by: Rui Miguel Silva <[email protected]>
Acked-by: Yueyao Zhu <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions