From patchwork Sun Oct 13 17:38:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 11187453 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 81BBD14ED for ; Sun, 13 Oct 2019 17:41:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 57898206A3 for ; Sun, 13 Oct 2019 17:41:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570988461; bh=zk1FaFnPn1Esfrwi8hrj2LjpE0HP/rCsA7+OTmkJuYc=; h=From:To:Cc:Subject:Date:List-ID:From; b=Tl85+xYFNNS8JFLrdJDwpw2m7RJWvDwgeRI0hVo5UIDLwOQ7DHOo+hcfCbBNVijoo 4AcsqTJMnpxQFUTYiZAaG/I+rh+N3/czMXsmWNpfShVPOrqK1fh44gfRb0WCqvU0Mt hsv1+S5xz/roaVh9mPhu9jACowxQvjVkkGRXa/jA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728159AbfJMRk6 (ORCPT ); Sun, 13 Oct 2019 13:40:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:36426 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726264AbfJMRk6 (ORCPT ); Sun, 13 Oct 2019 13:40:58 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C26C52067B; Sun, 13 Oct 2019 17:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570988457; bh=zk1FaFnPn1Esfrwi8hrj2LjpE0HP/rCsA7+OTmkJuYc=; h=From:To:Cc:Subject:Date:From; b=b7GWP/PSX7SNuB49WSduBRMKmDEitcuXwvIwenD2jFHz4ljOGvDDLMc79kfBlyyMf LnvxRNPhq9iBil8De1HZZ72o1qQ8+CXYZ90yqO4gjnnsqvHyWAp4t5S/1YzVKbmMpj Uqphhsjo2BJNa4psA0E6CetS7fbzZYBZuKMdK8qE= From: jic23@kernel.org To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Manivannan Sadhasivam Subject: [PATCH] iio: light: adux1020: Drop an unwanted semicolon. Date: Sun, 13 Oct 2019 18:38:52 +0100 Message-Id: <20191013173852.2265620-1-jic23@kernel.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Suggested by coccinelle CHECK drivers/iio/light/adux1020.c drivers/iio/light/adux1020.c:747:2-3: Unneeded semicolon Signed-off-by: Jonathan Cameron Cc: Manivannan Sadhasivam --- drivers/iio/light/adux1020.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/adux1020.c b/drivers/iio/light/adux1020.c index 830e5e95d58f..b07797ac10d7 100644 --- a/drivers/iio/light/adux1020.c +++ b/drivers/iio/light/adux1020.c @@ -744,7 +744,7 @@ static int adux1020_chip_init(struct adux1020_data *data) if ((val & ADUX1020_CHIP_ID_MASK) != ADUX1020_CHIP_ID) { dev_err(&client->dev, "invalid chip id 0x%04x\n", val); return -ENODEV; - }; + } dev_dbg(&client->dev, "Detected ADUX1020 with chip id: 0x%04x\n", val);