commit | c455e58354adcde7ba1ebf3d753eba9a07cd587d | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Tue Apr 05 22:18:44 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Apr 10 14:50:06 2016 +0100 |
tree | 0f2cae597a1ed3e9174ffd9471fbaaffaddb38f1 | |
parent | 56ca9db862bf3d78e279d424b3434d66617c27ae [diff] |
iio: accel: mma7455: use regmap to retrieve struct device Driver includes struct regmap and struct device in its global data. Remove the struct device and use regmap API to retrieve device info. Patch created using Coccinelle plus manual edits. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Acked-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>