Tag: dc2c57153ec5119eae7770042197eff627184d74

iio: gyro: bmg160: 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: Srinivas Pandruvada Signed-off-by: Jonathan Cameron — drivers/iio/gyro/bmg160_core.c | 86 +++++++++++++++++++++——————— 1 file changed, 44 insertions(+), 42 deletions(-) …

Continue reading