drivers: some improvements to the ADC driver interface