Tag: 0ef4c311abdc821d10e092ae623e022dd4b6a6d4

iio: accel: bmc150: 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 Reviewed-by: Irina Tirdea Reviewed-by: Srinivas Pandruvada Signed-off-by: Jonathan Cameron — drivers/iio/accel/bmc150-accel-core.c | 99 +++++++++++++++++++—————- 1 file changed, 54 …

Continue reading