diff options
| author | Lars-Peter Clausen <[email protected]> | 2016-10-19 19:07:03 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-10-23 19:34:15 +0100 |
| commit | 382a4777ec03ef2b3320a39eec415003f76e9be4 (patch) | |
| tree | 58b69d7394c7390253fc2a9f6cd5f711ac775cda /tools/perf/scripts | |
| parent | 91b7334bae734586b153a79fd82873c5d00eb950 (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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions