]> bbs.cooldavid.org Git - net-next-2.6.git/commit
of: Modify of_device_get_modalias to be passed struct device
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 8 Jun 2010 13:48:13 +0000 (07:48 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 22:14:28 +0000 (16:14 -0600)
commit34a1c1e8c700f7cd849deb21193718a172722f8d
tree8cb17243ca49acda328f3561d55b6d3d2f62f0d2
parentdd27dcda37f0b1a3b674760fb411abc5c8fe309c
of: Modify of_device_get_modalias to be passed struct device

Now that the of_node pointer is part of struct device,
of_device_get_modalias could be used on any struct device
that has the device node pointer set.  This patch changes
of_device_get_modalias to accept a struct device instead
of a struct of_device.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
CC: Michal Simek <monstr@monstr.eu>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Wolfram Sang <w.sang@pengutronix.de>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
CC: microblaze-uclinux@itee.uq.edu.au
CC: linuxppc-dev@ozlabs.org
arch/microblaze/include/asm/of_device.h
drivers/macintosh/macio_sysfs.c
drivers/of/device.c
include/linux/of_device.h