]> 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)
commit48b9b6d4699e23cda45756b6a1fe5d481ba45914
tree730d2f800763dced4eab0a5ef6902f3e1807af6d
parentf929efb06578d2f9afd869911a8b4cc21b2e6e73
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