summaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/iio-trig-interrupt.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-01-21 05:55:58 +0100
committerJonathan Cameron <jic23@kernel.org>2017-01-22 14:37:34 +0100
commit2c99f1a09da3dcc1fbbed4b85c274d045f352b43 (patch)
treeb35a42ecaa73498838c4c2e01ceec3aab0170c4b /drivers/iio/trigger/iio-trig-interrupt.c
parentiio: adc: constify iio_info structures (diff)
downloadlinux-2c99f1a09da3dcc1fbbed4b85c274d045f352b43.tar.xz
linux-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 'drivers/iio/trigger/iio-trig-interrupt.c')
0 files changed, 0 insertions, 0 deletions