libata: pata_platform: make probe and remove functions device type neutral
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 9 Jan 2008 19:10:22 +0000 (22:10 +0300)
committerOlof Johansson <olof@lixom.net>
Tue, 15 Jan 2008 16:23:41 +0000 (10:23 -0600)
Split pata_platform_{probe,remove} into two pieces:
1. pata_platform_{probe,remove} -- platform_device-dependant bits;
2. __ptata_platform_{probe,remove} -- device type neutral bits.

This is done to not duplicate code for the OF-platform driver.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Olof Johansson <olof@lixom.net>

No differences found