[PATCH 12/15] power-supply: Use PTR_ERR_OR_ZERO() routine