diff options
| author | 2016-10-19 19:07:03 +0200 | |
|---|---|---|
| committer | 2016-10-23 19:34:15 +0100 | |
| commit | 382a4777ec03ef2b3320a39eec415003f76e9be4 (patch) | |
| tree | 58b69d7394c7390253fc2a9f6cd5f711ac775cda /include/linux/timer.h | |
| parent | staging:iio:ad7606: Factor out common code between periodic and one-shot capture (diff) | |
staging:iio:ad7606: Move set_drvdata() into common code
Both the platform_device and SPI driver call set_drvdata() at the end of
their probe function. Move this into the common probe() function to reduce
duplicated code.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/timer.h')
0 files changed, 0 insertions, 0 deletions
