summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu
diff options
context:
space:
mode:
authorMarkus Elfring2017-11-03 09:26:28 +0100
committerJonathan Cameron2017-12-02 11:40:07 +0100
commitaa6b707c146d4d19e87af0b995fab95bec5990a3 (patch)
treeeab5ddb4494dfc154f107e24d70b92379f7076a9 /drivers/iio/imu
parentstaging: iio: ad7152: Improve unlocking of a mutex in ad7152_start_calib() (diff)
downloadkernel-qcow2-linux-aa6b707c146d4d19e87af0b995fab95bec5990a3.tar.gz
kernel-qcow2-linux-aa6b707c146d4d19e87af0b995fab95bec5990a3.tar.xz
kernel-qcow2-linux-aa6b707c146d4d19e87af0b995fab95bec5990a3.zip
staging: iio: ad7746: Improve unlocking of a mutex in ad7746_start_calib()
* Add a jump target so that a call of the function "mutex_unlock" is stored only twice in this function implementation. * Replace two calls by goto statements. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu')
0 files changed, 0 insertions, 0 deletions