Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1586672

[PATCH v2 4/4] w1: w1_ds2760.h: fix defines indentation

From Mariusz Bialonczyk <manio@skyboo.net>
Newsgroups linux.kernel
Subject [PATCH v2 4/4] w1: w1_ds2760.h: fix defines indentation
Date 2017-02-23 07:40 +0100
Message-ID <tdVei-5Qz-17@gated-at.bofh.it> (permalink)
References <tdVei-5Qz-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net>
---
 drivers/w1/slaves/w1_ds2760.h | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/drivers/w1/slaves/w1_ds2760.h b/drivers/w1/slaves/w1_ds2760.h
index 58e774141568..24168c94eeae 100644
--- a/drivers/w1/slaves/w1_ds2760.h
+++ b/drivers/w1/slaves/w1_ds2760.h
@@ -24,11 +24,13 @@
 #define DS2760_DATA_SIZE		0x40
 
 #define DS2760_PROTECTION_REG		0x00
+
 #define DS2760_STATUS_REG		0x01
-	#define DS2760_STATUS_IE	(1 << 2)
-	#define DS2760_STATUS_SWEN	(1 << 3)
-	#define DS2760_STATUS_RNAOP	(1 << 4)
-	#define DS2760_STATUS_PMOD	(1 << 5)
+#define DS2760_STATUS_IE		(1 << 2)
+#define DS2760_STATUS_SWEN		(1 << 3)
+#define DS2760_STATUS_RNAOP		(1 << 4)
+#define DS2760_STATUS_PMOD		(1 << 5)
+
 #define DS2760_EEPROM_REG		0x07
 #define DS2760_SPECIAL_FEATURE_REG	0x08
 #define DS2760_VOLTAGE_MSB		0x0c
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] w1: add DS2438 support, documentation and small fixes Mariusz Bialonczyk <manio@skyboo.net> - 2017-02-23 07:40 +0100
  [PATCH v2 4/4] w1: w1_ds2760.h: fix defines indentation Mariusz Bialonczyk <manio@skyboo.net> - 2017-02-23 07:40 +0100
  [PATCH v2 1/4] w1: add missing DS2413 documentation Mariusz Bialonczyk <manio@skyboo.net> - 2017-02-23 07:40 +0100
  [PATCH v2 2/4] w1: add support for DS2438 Smart Battery Monitor Mariusz Bialonczyk <manio@skyboo.net> - 2017-02-23 07:40 +0100
  Re: [PATCH v2 0/4] w1: add DS2438 support, documentation and small fixes Evgeniy Polyakov <zbr@ioremap.net> - 2017-02-23 20:00 +0100

csiph-web