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

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

Merge "pinctrl: msm: Free mapping table entries of PIN_MAP_TYPE_MUX_GROUP type"

parents ce15b0ab 7e46eab5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2015, 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
@@ -364,7 +364,7 @@ static void msm_dt_free_map(struct pinctrl_dev *pctldev,
	for (idx = 0; idx < num_maps; idx++) {
		if (map[idx].type == PIN_MAP_TYPE_CONFIGS_GROUP)
			kfree(map[idx].data.configs.configs);
		else if (map->type == PIN_MAP_TYPE_MUX_GROUP)
		else if (map[idx].type == PIN_MAP_TYPE_MUX_GROUP)
			kfree(map[idx].data.mux.function);
	};