From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Sat, 24 Sep 2016 06:29:19 +0000 Subject: [PATCH 5/7] iio: Rename a jump label in iio_scan_el_ts_store() Message-Id: <2f1065fe-571a-a519-7b40-4ddf1552b2a6@users.sourceforge.net> List-Id: References: <566ABCD9.1060404@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-iio@vger.kernel.org, Hartmut Knaack , Jonathan Cameron , Lars-Peter Clausen , Peter Meerwald-Stadler Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: Markus Elfring Date: Sat, 24 Sep 2016 07:27:26 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/iio/industrialio-buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c index 376101f..4b8f313 100644 --- a/drivers/iio/industrialio-buffer.c +++ b/drivers/iio/industrialio-buffer.c @@ -409,10 +409,10 @@ static ssize_t iio_scan_el_ts_store(struct device *dev, mutex_lock(&indio_dev->mlock); if (iio_buffer_is_active(indio_dev->buffer)) { ret = -EBUSY; - goto error_ret; + goto unlock; } indio_dev->buffer->scan_timestamp = state; -error_ret: +unlock: mutex_unlock(&indio_dev->mlock); return ret ? ret : len; -- 2.10.0