Tag: 722fc31663d506d668e6a3bea4e9dca8ab957d3a

staging: iio: isl29028: 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. Simplified version of Coccinelle semantic patch used: @ a @ identifier drvdata, r; position p; @@ struct drvdata@p { … struct regmap *r; … }; @ b @ …

Continue reading