diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2016-10-19 20:07:04 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-10-23 21:34:16 +0300 |
| commit | 71faca73af90df461c2cb3fccaefcf06793ab99f (patch) | |
| tree | 7c152549f1ad580fdeb6678c92dd081d2d39f51a /scripts/stackusage | |
| parent | 382a4777ec03ef2b3320a39eec415003f76e9be4 (diff) | |
| download | linux-71faca73af90df461c2cb3fccaefcf06793ab99f.tar.xz | |
staging:iio:ad7606: Let the common probe function return int
The common probe function for the ad7606 currently returns a struct iio_dev
pointer. The returned value is not used by the individual driver probe
functions other than for error checking.
Let the common probe function return a int instead to report the error
value directly (or 0 on success). This allows to simplify the code.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
