hwmon: (pmbus/max34440) Fix OC fault limits

The max34* family have the IOUT_OC_WARN_LIMIT and IOUT_OC_CRIT_LIMIT
registers swapped.

Cc: stable@vger.kernel.org
Signed-off-by: Steve Foreman <foremans@google.com>
[groeck: Updated subject, use C comment style, tab after defines]
[groeck: Added missing break; statements (by alexandru.ardelean@analog.com)]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Steve Foreman 2020-10-02 16:35:38 +00:00 • committed by Guenter Roeck
commit 2b52278150