Tag: c455e58354adcde7ba1ebf3d753eba9a07cd587d

iio: accel: mma7455: use regmap to retrieve struct device

Author: Alison Schofield <amsfield22@gmail.com> 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 Acked-by: Joachim Eastwood Signed-off-by: Jonathan Cameron — drivers/iio/accel/mma7455_core.c | 5 ++— 1 file changed, 2 insertions(+), 3 deletions(-) …

Continue reading