stm: code cleanup, use enums for kernel

Acer 1425P LIS3 is a 8-bit variant (WAI_8B)

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00135460.pdf