This is v2 of cleanup and freefall detection for mma8452 devices. [PATCH 1/3] iio: mma8452: remove unused register description [PATCH 2/3] iio: mma8452: use enum for channel index [PATCH 3/3] iio: mma8452: add freefall detection for Freescale's If freefall mode (x&y&z falling event) is enabled, changes to individual (rising) axis events have no effect, keeping the state consistent to what values the user reads. Other combinations (x&y, y&z, x&z) could be added later. x&y&z is by far the most useful one for freefall detection. Of course this doesn't change anything for existing users. revision history ---------------- v2: freefall channel idx -1, seperate enum patch, cleanup and fixes thanks to Jonathan's review. -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html