liblights: partial revert of changes

I need to learn to try my changes before submitting them...

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Iceae7d40798d338c290ec446477253989faaaca1