tsl2561: update example to use new API

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
tsl2561: fix indentation of example

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>