From: Sekhar Nori Date: Wed, 21 Oct 2009 15:48:20 +0000 (+0530) Subject: davinci: DA830/OMAP-L137 EVM: use runtime detection for UI card X-Git-Tag: v2.6.33-rc1~348^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77316f0575264c56fb0c8f241b946a91e3a00602;p=pandora-kernel.git davinci: DA830/OMAP-L137 EVM: use runtime detection for UI card This patch supports runtime detection of DA830 UI card and eliminates the need for DA830_UI config option. Successful probe of GPIO expander present on the UI card is used to detect its presence. For this reason, GPIO_PCF857X is auto- selected when DA830 EVM is configured. In case the UI card is absent, the probe fails in reasonable time. As a side effect this patch also gets rid of the voilation of Documentation/SubmittingPatches section 2.2 in function da830_evm_ui_expander_setup() Signed-off-by: Sekhar Nori Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed