From: David Brownell Date: Sat, 24 Feb 2007 20:23:52 +0000 (-0800) Subject: pxa2xx_udc: cleanups, use platform_get_irq X-Git-Tag: v2.6.22-rc1~1117^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34ebcd28235dc58633eeb8f7ca603838af23df0d;p=pandora-kernel.git pxa2xx_udc: cleanups, use platform_get_irq Make the pxa2xx_udc driver fetch its IRQ from platform resources rather than using compile-time constants, so that it works properly on IXP4xx systems not just PXA21x/25x/26x. Other updates: - Do that using platform_get_irq() - Switch to platform_driver_probe() - Handle device_add() errors - Remove "function" sysfs attribute and its potential errors - Whitespace cleanups Signed-off-by: Milan Svoboda Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed