This has been a long standing debate in my mind. I understand the white conductor has to be reidentified in a switch loop. Is the code requiring the white conductor to only be used as the power to a switch or can the black conductor be used as the power to the switch and the white conductor be used as the return.