diff options
| author | Linus Walleij <[email protected]> | 2016-09-01 11:44:37 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-09-18 11:07:50 +0100 |
| commit | 154021a317564a600fb5b8e6eba9a76ca6888310 (patch) | |
| tree | 7eaa0ca4eb0daddf9a91c09e72f0b30d3441ac3a /tools/perf/scripts/python | |
| 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 <[email protected]>
Tested-by: Jonathan Cameron <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions