summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorBenson Leung <bleung@chromium.org>2013-10-21 03:58:25 (GMT)
committerOlof Johansson <olof@lixom.net>2013-11-25 20:51:09 (GMT)
commit9ad3692458c387eb9537da73b2b75841ed7acdaf (patch)
treef9504a0bfb1938ab6d38be5d914e8cbbcfe8a5b6 /ipc
parentec199dd57ef71858b53828283ac495ed82164933 (diff)
downloadlinux-9ad3692458c387eb9537da73b2b75841ed7acdaf.tar.xz
platform/chrome: chromeos_laptop - Use deferred probing
Further refactor chromeos_laptop, adding a probe function. Init will call dmi_check_system, but will only use the match to select a chromeos_laptop structure of the current board. Probe will add the devices, and on errors return -EPROBE_DEFER. If i2c adapters are loaded after chromeos_laptop inits, the deferred probe will instantiate the peripherals when the bus appears. Signed-off-by: Benson Leung <bleung@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions