-
Yong Zhi authored
Use devm_gpio_request() to automatic unroll when fails and avoid resource leaks at error paths. Signed-off-by:
Yong Zhi <yong.zhi@intel.com> Link: https://lore.kernel.org/r/1572905399-22402-1-git-send-email-yong.zhi@intel.com Signed-off-by:
Mark Brown <broonie@kernel.org>
Yong Zhi authoredUse devm_gpio_request() to automatic unroll when fails and avoid resource leaks at error paths. Signed-off-by:
Yong Zhi <yong.zhi@intel.com> Link: https://lore.kernel.org/r/1572905399-22402-1-git-send-email-yong.zhi@intel.com Signed-off-by:
Mark Brown <broonie@kernel.org>
Loading