From: Nicolas Ferre Date: Wed, 21 Mar 2012 15:58:11 +0000 (+0100) Subject: USB: ohci-at91: rework and fix initialization X-Git-Tag: v3.4-rc2~12^2~5^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaf9f5fc67c18259760d6302e679dcb3e36709a7;p=pandora-kernel.git USB: ohci-at91: rework and fix initialization The DT information are filled in a pdata structure and then passed on to the usual check code of the probe function. Thus we do not need to redo the gpio checking and irq configuration in the DT-related code. On the other hand, we setup GPIO direction in driver for vbus and overcurrent. It will be useful when moving to pinctrl subsystem. Signed-off-by: Nicolas Ferre Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Alan Stern --- Reading git-diff-tree failed