powerpc: remove references to of_device and to_of_device

of_device is just a #define alias to platform_device.  This patch
replaces all references to it with platform_device.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cette révision appartient à :
Grant Likely
2010-07-22 15:52:34 -06:00
Parent 94a0cb1fc6
révision a454dc5059
17 fichiers modifiés avec 47 ajouts et 46 suppressions

Voir le fichier

@@ -111,7 +111,7 @@ static struct mdiobb_ctrl ep8248e_mdio_ctrl = {
.ops = &ep8248e_mdio_ops,
};
static int __devinit ep8248e_mdio_probe(struct of_device *ofdev,
static int __devinit ep8248e_mdio_probe(struct platform_device *ofdev,
const struct of_device_id *match)
{
struct mii_bus *bus;
@@ -154,7 +154,7 @@ err_free_bus:
return ret;
}
static int ep8248e_mdio_remove(struct of_device *ofdev)
static int ep8248e_mdio_remove(struct platform_device *ofdev)
{
BUG();
return 0;