adc_sensor: cleanup