summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-01-21 07:55:58 +0300
committerJonathan Cameron <jic23@kernel.org>2017-01-22 13:37:34 +0000
commit2c99f1a09da3dcc1fbbed4b85c274d045f352b43 (patch)
treeb35a42ecaa73498838c4c2e01ceec3aab0170c4b /scripts
parent99a22f062b1c279a5d332946de655ef0a244e583 (diff)
downloadlinux-stable-2c99f1a09da3dcc1fbbed4b85c274d045f352b43.tar.gz
linux-stable-2c99f1a09da3dcc1fbbed4b85c274d045f352b43.tar.bz2
linux-stable-2c99f1a09da3dcc1fbbed4b85c274d045f352b43.zip
iio: trigger: clean up viio_trigger_alloc()
1) Reverse the test for kmalloc() failure so we can pull everything back one tab. 2) Use gotos for unwinding. 3) Some of the extra line breaks for the 80 character limit are no longer needed so we can remove them. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions