Commit ae243ef0 authored by suguosong's avatar suguosong Committed by Alexandre Belloni
Browse files

rtc: sysfs: use kobj_to_dev



use kobj_to_dev instead of open-conding it

Signed-off-by: default avatarsuguosong <suguosong@xiaomi.com>
Link: https://lore.kernel.org/r/20200225021923.8570-1-guosongsu@gmail.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 66e4f4a9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment