Re: [PATCH 1/2] extcon: max14577: Use common error handling code in max14577_muic_set_path()

From: SF Markus Elfring
Date: Mon Oct 23 2017 - 01:51:12 EST


> As you commented, this patch might remove the redundant error message.
> But, it makes the code more complicated in side of readability.

Do you try to avoid duplicated code any more in other circumstances?

Regards,
Markus