commit | cf03613e9662c28372b8c83538fb402df37c53f5 | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <avorontsov@ru.mvista.com> | Wed Jan 09 22:10:22 2008 +0300 |
committer | Olof Johansson <olof@lixom.net> | Tue Jan 15 10:23:41 2008 -0600 |
tree | 30b66b4250f5bc32dff5a25b3b439f0e518782dc | |
parent | bdddec454c205028c010c1c4e1e6163c054487c6 [diff] |
libata: pata_platform: make probe and remove functions device type neutral 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>