devm_rtc_device_register() is device managed and makes cleanup
paths simpler.
Signed-off-by: Jingoo Han
---
Changes since v1:
- used 'struct device *dev' as the first argument
drivers/rtc/rtc-lp8788.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git
devm_rtc_device_register() is device managed and makes cleanup
paths simpler.
Signed-off-by: Jingoo Han jg1@samsung.com
---
Changes since v1:
- used 'struct device *dev' as the first argument
drivers/rtc/rtc-lp8788.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git
2 matches
Mail list logo