diff options
author | Benson Leung <bleung@chromium.org> | 2013-10-20 20:58:25 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-11-25 12:51:09 -0800 |
commit | 9ad3692458c387eb9537da73b2b75841ed7acdaf (patch) | |
tree | f9504a0bfb1938ab6d38be5d914e8cbbcfe8a5b6 /drivers/oprofile | |
parent | ec199dd57ef71858b53828283ac495ed82164933 (diff) | |
download | op-kernel-dev-9ad3692458c387eb9537da73b2b75841ed7acdaf.zip op-kernel-dev-9ad3692458c387eb9537da73b2b75841ed7acdaf.tar.gz |
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 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions