It might work right now because not every company is transparent, but if these laws were in place everywhere, it will be a different story.
"Pay transparency in some ways moves the competition away from salaries, away from wages and toward non cash benefits, or toward equity comp, toward flexibility,"
This puts more of the risk on the employee with very little control over how the company is run. Equity often forces you to stay at a poorly-run company or with a terrible manager because you won't be able to cash-out for at least a couple of years (if at all).
I would much rather have the money up front and invest as I please.