Skip to content
Commit 54dd1c4c authored by Geliang Tang's avatar Geliang Tang Committed by Alexandre Belloni
Browse files

rtc: ds1305: use to_spi_device and kobj_to_dev



For better readability, use to_spi_device() and kobj_to_dev() instead
of container_of().

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent bf035f42
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