MFC r307558:
REGULATOR: Move functions for handling with regulator ranges to common file. They can be useful for other PMICs.