commit | 54dd1c4c2979d1ad127d0e615fdd0f5016a5d713 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Wed Dec 23 20:54:33 2015 +0800 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Feb 04 23:44:16 2016 +0100 |
tree | af47537f21df87157ca76ddd76b21dab96f832eb | |
parent | bf035f42344a3e790c2d37ed3ee9005311f98075 [diff] |
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: Geliang Tang <geliangtang@163.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>