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 …