summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ccree/ssi_pm_ext.c
diff options
context:
space:
mode:
authorRui Miguel Silva2017-05-12 22:16:13 +0200
committerGreg Kroah-Hartman2017-05-15 11:37:26 +0200
commit2c8e3f44f708a89a2c73a25a134af8c23998a2bc (patch)
tree182bcf796cf8c75c6035c3a45965c5d698f9198a /drivers/staging/ccree/ssi_pm_ext.c
parentstaging: typec: tcpm: Fix Port Power Role field in PS_RDY messages (diff)
downloadkernel-qcow2-linux-2c8e3f44f708a89a2c73a25a134af8c23998a2bc.tar.gz
kernel-qcow2-linux-2c8e3f44f708a89a2c73a25a134af8c23998a2bc.tar.xz
kernel-qcow2-linux-2c8e3f44f708a89a2c73a25a134af8c23998a2bc.zip
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 <rmfrfs@gmail.com> Acked-by: Yueyao Zhu <yueyao.zhu@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_pm_ext.c')
0 files changed, 0 insertions, 0 deletions