commit | dc2c57153ec5119eae7770042197eff627184d74 | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Sun Apr 10 12:08:14 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Tue Apr 19 19:58:18 2016 +0100 |
tree | 2716b8f5c4171aeaba1dd968c99f3c7e033880b2 | |
parent | 0ef4c311abdc821d10e092ae623e022dd4b6a6d4 [diff] |
iio: gyro: bmg160: use regmap to retrieve struct device 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 <amsfield22@gmail.com> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>