commit | 66e784130a48653fcc58ebd08b54ece4fbd86bbc | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Sun Dec 27 21:15:42 2015 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sun Jan 03 19:54:31 2016 +0100 |
tree | 0fdb65417df427d15d000096f305132110f384ff | |
parent | 238c44a70c0637765709c78eeaddb2a3d3674b88 [diff] |
i2c: st: use to_platform_device() Use to_platform_device() instead of open-coding it. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>