diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-09-01 11:44:37 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-09-18 11:07:50 +0100 |
commit | 154021a317564a600fb5b8e6eba9a76ca6888310 (patch) | |
tree | 7eaa0ca4eb0daddf9a91c09e72f0b30d3441ac3a /drivers/iio/accel/Kconfig | |
parent | 9f9079720a4b802555ffc6f71ce3dd8adfd78f60 (diff) |
iio: accel: kxsd9: split out a common remove() function
This makes it possible to later split the transport mechanism
using a generic probe() and a generic remove().
Use dev_set_drvdata() and dev_get_drvdata() as a paired
accessor to operate on the abstract struct device * regardless
of the transport mechanism in use.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
0 files changed, 0 insertions, 0 deletions