Skip to content

Commit

Permalink
w1: w1_ds2760.h: fix defines indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Mariusz Bialonczyk authored and Greg Kroah-Hartman committed Mar 17, 2017
1 parent 6d69155 commit e447d4c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions drivers/w1/slaves/w1_ds2760.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e447d4c

Please sign in to comment.