lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240430120535.46097-4-dima.fedrau@gmail.com>
Date: Tue, 30 Apr 2024 14:05:33 +0200
From: Dimitri Fedrau <dima.fedrau@...il.com>
To: 
Cc: Jonathan Cameron <jic23@...nel.org>,
	Lars-Peter Clausen <lars@...afoo.de>,
	Dimitri Fedrau <dima.fedrau@...il.com>,
	Andrew Hepp <andrew.hepp@...pp.dev>,
	Marcelo Schmitt <marcelo.schmitt1@...il.com>,
	linux-iio@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 3/5] iio: temperature: mcp9600: add newlines after if statements

Add newlines after if statements following coding guide lines.

Signed-off-by: Dimitri Fedrau <dima.fedrau@...il.com>
---
 drivers/iio/temperature/mcp9600.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/iio/temperature/mcp9600.c b/drivers/iio/temperature/mcp9600.c
index 74e0782fb073..4003bc8c83d3 100644
--- a/drivers/iio/temperature/mcp9600.c
+++ b/drivers/iio/temperature/mcp9600.c
@@ -72,6 +72,7 @@ static int mcp9600_read_raw(struct iio_dev *indio_dev,
 		ret = mcp9600_read(data, chan, val);
 		if (ret)
 			return ret;
+
 		return IIO_VAL_INT;
 	case IIO_CHAN_INFO_SCALE:
 		*val = 62;
@@ -95,6 +96,7 @@ static int mcp9600_probe(struct i2c_client *client)
 	ret = i2c_smbus_read_byte_data(client, MCP9600_DEVICE_ID);
 	if (ret < 0)
 		return dev_err_probe(&client->dev, ret, "Failed to read device ID\n");
+
 	if (ret != MCP9600_DEVICE_ID_MCP9600)
 		dev_warn(&client->dev, "Expected ID %x, got %x\n",
 				MCP9600_DEVICE_ID_MCP9600, ret);
-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ