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: NAnton Vorontsov <avorontsov@ru.mvista.com> Acked-by: NPaul Mundt <lethal@linux-sh.org> Signed-off-by: NOlof Johansson <olof@lixom.net>
Showing
想要评论请 注册 或 登录