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

Commit b67ecdec authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Walleij
Browse files

pinctrl: remove redundant mux_setting clear in pinmux_disable_setting()



desc->mux_setting is set to NULL in pin_free() called just below.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 55b6986c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -493,8 +493,6 @@ void pinmux_disable_setting(const struct pinctrl_setting *setting)
			continue;
		}
		if (desc->mux_setting == &(setting->data.mux)) {
			desc->mux_setting = NULL;
			/* And release the pin */
			pin_free(pctldev, pins[i], NULL);
		} else {
			const char *gname;