Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c84840cd authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-smbcharger: Fix error path" into msm-4.9

parents 6347e00f 5eb8a78c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/* Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, 2018 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -8488,6 +8488,8 @@ static int smbchg_probe(struct platform_device *pdev)
out:
	handle_usb_removal(chip);
votables_cleanup:
	if (chip->hvdcp_enable_votable)
		destroy_votable(chip->hvdcp_enable_votable);
	if (chip->aicl_deglitch_short_votable)
		destroy_votable(chip->aicl_deglitch_short_votable);
	if (chip->hw_aicl_rerun_enable_indirect_votable)