Avoid allocating memory for struct nvmem_config as it is only necessary at
the nvmem registration.
Signed-off-by: Alexandre Belloni
---
drivers/rtc/rtc-ds1307.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git
Avoid allocating memory for struct nvmem_config as it is only necessary at
the nvmem registration.
Signed-off-by: Alexandre Belloni
---
drivers/rtc/rtc-ds1307.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/drivers/rtc/rtc-ds1307.c
2 matches
Mail list logo