diff options
| author | 2015-09-01 13:45:08 +0200 | |
|---|---|---|
| committer | 2015-09-23 20:23:20 +0100 | |
| commit | c3cdd6e48e35b7a02f28e301ef30a87ff3cd6527 (patch) | |
| tree | 9f88041bf95267e90982cace9863f705e307150f /scripts/basic | |
| parent | Staging: iio: addac: Prefer using the BIT macro (diff) | |
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 <martin.kepplinger@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
