diff options
author | Alison Schofield <amsfield22@gmail.com> | 2016-04-10 21:08:14 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-19 20:58:18 +0200 |
commit | dc2c57153ec5119eae7770042197eff627184d74 (patch) | |
tree | 2716b8f5c4171aeaba1dd968c99f3c7e033880b2 /block/blk-mq-sysfs.c | |
parent | iio: accel: bmc150: use regmap to retrieve struct device (diff) | |
download | linux-dc2c57153ec5119eae7770042197eff627184d74.tar.xz linux-dc2c57153ec5119eae7770042197eff627184d74.zip |
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>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions