summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/buffer_sync.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-09-01 11:44:37 +0200
committerJonathan Cameron <jic23@kernel.org>2016-09-18 12:07:50 +0200
commit154021a317564a600fb5b8e6eba9a76ca6888310 (patch)
tree7eaa0ca4eb0daddf9a91c09e72f0b30d3441ac3a /drivers/oprofile/buffer_sync.c
parentiio: accel: kxsd9: Split out transport mechanism (diff)
downloadlinux-154021a317564a600fb5b8e6eba9a76ca6888310.tar.xz
linux-154021a317564a600fb5b8e6eba9a76ca6888310.zip
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/oprofile/buffer_sync.c')
0 files changed, 0 insertions, 0 deletions