diff options
| author | Lars-Peter Clausen <[email protected]> | 2016-10-19 19:07:05 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2016-10-23 19:34:16 +0100 |
| commit | a866058f8e40a30c62027990c91aa71008617207 (patch) | |
| tree | 0c1d8d3dfbb2f44d569075798ea57c5a856d10d0 /tools/perf/scripts/python/bin | |
| parent | 71faca73af90df461c2cb3fccaefcf06793ab99f (diff) | |
staging:iio:ad7606: Let common remove function take a struct device *
Currently the common remove function takes a struct iio_dev *. This
parameter is retrieved by the individual driver remove functions by calling
get_drvdata() on their device. To simplify the code let the common remove
function directly take a struct dev * and do the IIO device in retrieval
the common remove function.
This also aligns the interface with the common probe function.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions