avr32: Use platform_driver_probe for pio platform driver
commitd6634db8fe1784d0a8e4e156970fec034708446e
authorUwe Kleine-König <ukleinek@strlen.de>
Sun, 21 Sep 2008 21:52:07 +0000 (21 23:52 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 22 Sep 2008 07:51:03 +0000 (22 09:51 +0200)
treed2010095f9b464458433d71a784c2a9bf411403b
parentece2678c62ce13ef11a8b43526ccc5db8d711ed3
avr32: Use platform_driver_probe for pio platform driver

The probe function of the pio platform driver lives in the init section
and so a pio device that is created after the init section is discarded
probably results in an oops.  Even if this cannot happen, using
platform_driver_probe is cleaner.  (If this can happen and should be
supported the probe function must live in the devinit section instead.)

Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/mach-at32ap/pio.c