From: Benson Leung Date: Mon, 21 Oct 2013 03:58:25 +0000 (-0700) Subject: platform/chrome: chromeos_laptop - Use deferred probing X-Git-Tag: v3.14-rc1~49^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ad3692458c387eb9537da73b2b75841ed7acdaf;p=pandora-kernel.git 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 Reviewed-by: Aaron Durbin Signed-off-by: Olof Johansson --- Reading git-diff-tree failed