[driver] add clear method at sensor