Received: by 10.223.148.5 with SMTP id 5csp6184002wrq; Wed, 17 Jan 2018 10:26:01 -0800 (PST) X-Google-Smtp-Source: ACJfBou06lzv0ysS8SUw18j6PitqCGdpgAxZa6cb9oJdJuCDuVQMQgSrS2l6TT6VoJJmeD1YZvmp X-Received: by 10.159.216.151 with SMTP id s23mr8208437plp.238.1516213561834; Wed, 17 Jan 2018 10:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516213561; cv=none; d=google.com; s=arc-20160816; b=MGDR8yRyAPCGiwZooC1saXHlwOTJSIYTu5WMHAUro5com6CRPq7TViL640b65sLm9L /7CmFM5oheJl3mDtTluWfnClYmGYZcBX884KiYosocxgfZ97WIU1S9FVsS3O3+8ug/Dj G4eBb83p6MAX0DSwWoG7mDL8emmZPznXDt2oSd6ofwAafOlJ4j/oSgARcWiOUlSnKOzM iD6YuC0fHa98CWU3QHsTo+nMpql+lgZ5izVVMCzW0z7wzounASxFI4jlOmfGa1cMBlCz NN6zudOQfMoFHXRTFacpnd7Rkge1p5G5Ty+UTvR4drM6NtJ5VcbSLyX2llQTSl5BH5Lt y4aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=sKp9+HQW5Q5P52P3GaIMCP1DEJUPKq17UFNPJ+6oywc=; b=cVQLdUAYyiD22zl9s4WOX22vbfMmXNuAirtpa2vExJ1UZqrX4TnT1lhgwd13hshNFB fSI5Wagu3NyA7cTSDxhikPlHsBjTx8FLBh7DlSobSkL2I94cFx0o0bO1hp9f2icVz7Lu ZhorV9RO18j9IuaOQLpIQgss0+XDADDTEqZLmHUqq3sJ6o29tPbKonXsX4znv/kfDH4T JMVtk40V9aQl1Pa5mgMiRS/ZhTTavmN3zdEJSABqVy1fkSiPYbumXo1xxEonaVBY6ROe ypg/wsOP4KSDXvzTTPQIlKor0vTq49ZVtzfUiuj6HBXXkPe/l3ogf7/FU9f1G1JRWOtK BCqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i72si1528853pfe.310.2018.01.17.10.25.46; Wed, 17 Jan 2018 10:26:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754335AbeAQSZM (ORCPT + 99 others); Wed, 17 Jan 2018 13:25:12 -0500 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:28750 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752368AbeAQSZL (ORCPT ); Wed, 17 Jan 2018 13:25:11 -0500 X-IronPort-AV: E=Sophos;i="5.46,372,1511827200"; d="scan'208";a="587318738" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-1e-c7c08562.us-east-1.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Jan 2018 18:24:57 +0000 Received: from uecb1d7364e75593fe229.ant.amazon.com (iad1-ws-svc-lb91-vlan2.amazon.com [10.0.103.146]) by email-inbound-relay-1e-c7c08562.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w0HIOq8F007549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Jan 2018 18:24:54 GMT Received: from uecb1d7364e75593fe229.ant.amazon.com (localhost [127.0.0.1]) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id w0HIOqBx016281; Wed, 17 Jan 2018 18:24:52 GMT Received: (from luisbg@localhost) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Submit) id w0HIOpta016277; Wed, 17 Jan 2018 18:24:51 GMT From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org, Luis de Bethencourt Subject: [PATCH] hwmon: (lm75) Fix trailing semicolon Date: Wed, 17 Jan 2018 18:24:48 +0000 Message-Id: <20180117182448.16204-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt --- Hi, After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0]. Best regards Luis [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html drivers/hwmon/lm75.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 005ffb5ffa92..49f4b33a5685 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -100,7 +100,7 @@ static int lm75_read(struct device *dev, enum hwmon_sensor_types type, switch (attr) { case hwmon_chip_update_interval: *val = data->sample_time; - break;; + break; default: return -EINVAL; } -- 2.15.1