[PATCH 40/45] rtc: stk17ta8: use generic nvmem

2018-02-12 Thread Alexandre Belloni
Instead of adding a binary sysfs attribute from the driver, use the core to register an nvmem device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-stk17ta8.c | 62 ++ 1 file changed, 24 insertions(+), 38

[PATCH 40/45] rtc: stk17ta8: use generic nvmem

2018-02-12 Thread Alexandre Belloni
Instead of adding a binary sysfs attribute from the driver, use the core to register an nvmem device. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-stk17ta8.c | 62 ++ 1 file changed, 24 insertions(+), 38 deletions(-) diff --git