The humble LM317 adjustable voltage regulator is everywhere ... including driving LEDs and laser diodes. While this circuit may not be as efficient as an LED driver module or a switching solution ...