iio: mma8452: refactor for seperating chip specific data
iio: mma8452: refactor for seperating chip specific data

This adds a struct mma_chip_info to hold data that will remain specific to
the chip in use. It is provided during probe() and linked in
struct of_device_id.

Also this suggests that the driver is called "mma8452" and now handles the
MMA8452Q device, but is not limited to it.

Signed-off-by: Martin Kepplinger <5f224f582e4d41e2bdb8535d23e6b63d7ab1203d@theobroma-systems.com>
Signed-off-by: Christoph Muellner <bdf9ce27b225f4bff91b927f0d376a51850c94a7@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <09f65b71b7655725897b2fd41a09a0cefe2e1ace@kernel.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs