projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad5ea5b
)
rtc: pcf85063: remove dead code
author
Alexey Roslyakov
<
[email protected]
>
Tue, 19 Feb 2019 08:39:29 +0000
(15:39 +0700)
committer
Alexandre Belloni
<
[email protected]
>
Sat, 2 Mar 2019 20:55:47 +0000
(21:55 +0100)
Some of defines are not in use since
7b5768486a910532885f01b9d2dad4818c8b3be1
. Remove it to make the code
easier to read and understand.
Signed-off-by: Alexey Roslyakov <
[email protected]
>
Signed-off-by: Alexandre Belloni <
[email protected]
>
drivers/rtc/rtc-pcf85063.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-pcf85063.c
b/drivers/rtc/rtc-pcf85063.c
index b79af6e96292e3ed7ecac986e106e61781536766..f6ce63c443a05d871ba5abf94671fa0fa0ed3a7d 100644
(file)
--- a/
drivers/rtc/rtc-pcf85063.c
+++ b/
drivers/rtc/rtc-pcf85063.c
@@
-29,16
+29,9
@@
#define PCF85063_REG_CTRL1 0x00 /* status */
#define PCF85063_REG_CTRL1_CAP_SEL BIT(0)
#define PCF85063_REG_CTRL1_STOP BIT(5)
-#define PCF85063_REG_CTRL2 0x01
#define PCF85063_REG_SC 0x04 /* datetime */
#define PCF85063_REG_SC_OS 0x80
-#define PCF85063_REG_MN 0x05
-#define PCF85063_REG_HR 0x06
-#define PCF85063_REG_DM 0x07
-#define PCF85063_REG_DW 0x08
-#define PCF85063_REG_MO 0x09
-#define PCF85063_REG_YR 0x0A
static struct i2c_driver pcf85063_driver;