diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-06-02 14:15:15 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-06-03 10:55:36 +0200 |
commit | 5c82a6ae0242416cfead597bb2b42aa3481a0ba7 (patch) | |
tree | 46e2e7f6caaa1452434dbb34a9295bbe10f39517 /include/linux/rtc.h | |
parent | 4b9e2a0c0591d2789a43414b8299466800873aea (diff) | |
download | linux-stable-5c82a6ae0242416cfead597bb2b42aa3481a0ba7.tar.gz linux-stable-5c82a6ae0242416cfead597bb2b42aa3481a0ba7.tar.bz2 linux-stable-5c82a6ae0242416cfead597bb2b42aa3481a0ba7.zip |
rtc: remove rtc_device.name
rtc->name is only used in messages were it is superfluous. Remove it
completely from the structure.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r-- | include/linux/rtc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index b693adac853b..d354f56e0cf5 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -116,7 +116,6 @@ struct rtc_device { struct module *owner; int id; - char name[RTC_DEVICE_NAME_SIZE]; const struct rtc_class_ops *ops; struct mutex ops_lock; |