summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-09-12 16:28:16 +0530
committerWolfram Sang <w.sang@pengutronix.de>2012-09-12 15:04:18 +0200
commit0bdfe0cb803dce699ff337c35d8e97ac355fa417 (patch)
treee8bb0809732d48f85c7eb44d15fed0ff36cf8f30 /drivers/hwmon
parent6d8451d55a2a9467bc9647aafe8b6faee0251687 (diff)
downloadop-kernel-dev-0bdfe0cb803dce699ff337c35d8e97ac355fa417.zip
op-kernel-dev-0bdfe0cb803dce699ff337c35d8e97ac355fa417.tar.gz
i2c: omap: sanitize exit path
move the goto out label one line down, so that it can be used when stat is read as zero. All other exits, can be done with a break statement. While at that, also break out as soon as we complete draining IRQ, since at that time we know we transferred everything there was to be transferred. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud