diff options
author | Joe Perches <joe@perches.com> | 2013-06-04 18:44:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-06-04 21:28:21 +0400 |
commit | e916b80d2b1988e985abc0a1c85eca5b96c61f48 (patch) | |
tree | 33989028ad270fed5a1b6d3e4e2c864d77bac21a /drivers/video/matrox/matroxfb_g450.c | |
parent | 702df9f1819c7fc7e257251fabc5eec674342c32 (diff) | |
download | linux-e916b80d2b1988e985abc0a1c85eca5b96c61f48.tar.xz |
inkern: iio_device_put after incorrect return/goto
The code uses
return foo;
goto err_type;
when instead the form should have been
ret = foo;
goto err_type;
Here this causes a useful iio_device_put to be skipped.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/video/matrox/matroxfb_g450.c')
0 files changed, 0 insertions, 0 deletions