]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: use to_platform_device()
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 13:15:45 +0000 (21:15 +0800)
committerOlof Johansson <olof@lixom.net>
Wed, 11 May 2016 18:55:47 +0000 (11:55 -0700)
commit5e3a249cd574439d32828bac7c2c6fc6a33e1752
tree730d2f800763dced4eab0a5ef6902f3e1807af6d
parent8e031e49a49562790762c28893ae1e9d672f44d2
platform/chrome: use to_platform_device()

Use to_platform_device() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/cros_ec_lightbar.c