Skip to content

Commit

Permalink
iio: accel: bmc150: use regmap to retrieve struct device
Browse files Browse the repository at this point in the history
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: Irina Tirdea <irina.tirdea@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Alison Schofield authored and Jonathan Cameron committed Apr 19, 2016
1 parent dfd2ab8 commit 0ef4c31
Showing 1 changed file with 54 additions and 45 deletions.
Loading

0 comments on commit 0ef4c31

Please sign in to comment.