staging: iio: isl29018: use regmap to retrieve struct device

Remove struct device from drivers global data and use regmap
API to retrieve device info instead.

This replacement can be done for drivers that include regmap
in their global data.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Alison Schofield 2016-02-22 12:34:32 -08:00 • committed by Jonathan Cameron
commit 646708693e