Tidy the LED-driver source code slightly.