lis3: remove the references to the global variable in core driver