OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c6e5ec
)
rtc: Remove unused RTC_DEVICE_NAME_SIZE
author
Cole Robinson
<crobinso@redhat.com>
Sun, 26 Nov 2017 00:41:32 +0000
(19:41 -0500)
committer
Alexandre Belloni
<alexandre.belloni@free-electrons.com>
Wed, 29 Nov 2017 21:16:31 +0000
(22:16 +0100)
The last usage was removed in
5c82a6ae0
when rtc_device.name
was removed
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include/linux/rtc.h
patch
|
blob
|
history
diff --git
a/include/linux/rtc.h
b/include/linux/rtc.h
index
41319a2
..
fc6c90b
100644
(file)
--- a/
include/linux/rtc.h
+++ b/
include/linux/rtc.h
@@
-87,7
+87,6
@@
struct rtc_class_ops {
int (*set_offset)(struct device *, long offset);
};
-#define RTC_DEVICE_NAME_SIZE 20
typedef struct rtc_task {
void (*func)(void *private_data);
void *private_data;