This adds functions for configuring accelerometer-related hardware parameters in the hdaps driver, and changes the init function touse these functions instead of opaque magic numbers.The parameters are configured via variables instead of constantssince a later patch will add sysfs attributes for changing them.

A few of these functions aren't used yet, but will be used by laterpatches.