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>
This commit is contained in:
Alexandre Belloni
2017-06-02 14:15:15 +02:00
parent 4b9e2a0c05
commit 5c82a6ae02
2 changed files with 3 additions and 5 deletions

View File

@@ -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;