Re: hwmon/amc6821: Use common error handling code in amc6821_init_client()

From: SF Markus Elfring
Date: Wed Oct 25 2017 - 02:05:17 EST


> Nack; I am not a friend of that much verboseness to start with,
> and I don't think the patch improves readability.

* Do you care to avoid code duplication for two error messages in this use case?

* How do you think about to return a single error code directly
without using an intermediate variable?

Regards,
Markus