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

Commit 3ecea805 authored by Sankeerth Billakanti's avatar Sankeerth Billakanti
Browse files

drm/msm/dp: remove an unnecessary NULL check in dp_power sub module



This is a change to remove an unnecessary NULL check in
dp_power_pinctrl_set function of dp_power sub module.

Change-Id: I21969826337ccace04f1d066974c089f34d068d9
Signed-off-by: default avatarSankeerth Billakanti <sbillaka@codeaurora.org>
parent afd3c658
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ static int dp_power_pinctrl_set(struct dp_power_private *power, bool active)

	parser = power->parser;

	if (parser && parser->no_aux_switch)
	if (parser->no_aux_switch)
		return 0;

	if (IS_ERR_OR_NULL(parser->pinctrl.pin))