diff options
author | David Brownell <david-b@pacbell.net> | 2007-02-24 12:23:52 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 13:28:33 -0700 |
commit | 34ebcd28235dc58633eeb8f7ca603838af23df0d (patch) | |
tree | 3e968a667c4fb1d2158a223ed5b8485890269f6c /drivers/media/radio/radio-maestro.c | |
parent | c51e9749ab49c5fa6c9cc1cb96bb5f36a571f553 (diff) |
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 <msvoboda@ra.rockwell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media/radio/radio-maestro.c')
0 files changed, 0 insertions, 0 deletions