]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: iio: isl29018: use regmap to retrieve struct device
authorAlison Schofield <amsfield22@gmail.com>
Mon, 22 Feb 2016 20:34:32 +0000 (12:34 -0800)
committerJonathan Cameron <jic23@kernel.org>
Wed, 24 Feb 2016 21:15:24 +0000 (21:15 +0000)
commit646708693e91e03cdce82266408590a912a52f6d
treedc485fb3bed858b64915876ce566c07393e9cd13
parent1b983bf42fad73eb0a6368b3785d90486d68961f
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>
drivers/staging/iio/light/isl29018.c