driver: Attach info callback to device, not to driver
Since the info is device specific and not driver specific, attach
the callback to the device. This makes it possible to have a info
callback for a device which does not have a driver attached.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4a4f2f2 commit 73b0d228e5b00365e7289e9c258acb8de3f716b3
@Sascha Hauer Sascha Hauer authored on 26 May 2013
Showing 15 changed files
View
arch/sandbox/board/hostfile.c
View
drivers/ata/ahci.c
View
drivers/ata/sata-imx.c
View
drivers/base/driver.c
View
drivers/mci/atmel_mci.c
View
drivers/mci/mci-core.c
View
drivers/mci/mxs.c
View
drivers/mci/s3c.c
View
drivers/misc/jtag.c
View
drivers/mtd/nor/cfi_flash.c
View
drivers/net/cs8900.c
View
drivers/video/fb.c
View
drivers/video/s3c24xx.c
View
drivers/video/stm.c
View
include/driver.h