projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag '5.11-rc-smb3-part2' of git://git.samba.org/sfrench/cifs-2.6
[linux-2.6-microblaze.git]
/
drivers
/
rtc
/
sysfs.c
diff --git
a/drivers/rtc/sysfs.c
b/drivers/rtc/sysfs.c
index
950fac0
..
8a957d3
100644
(file)
--- a/
drivers/rtc/sysfs.c
+++ b/
drivers/rtc/sysfs.c
@@
-317,8
+317,6
@@
int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps)
size_t old_cnt = 0, add_cnt = 0, new_cnt;
const struct attribute_group **groups, **old;
- if (rtc->registered)
- return -EINVAL;
if (!grps)
return -EINVAL;