layered parport code uses parport->dev
authorDavid Brownell <david-b@pacbell.net>
Tue, 8 May 2007 07:27:42 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:05 +0000 (11:15 -0700)
commitda6752964290567a6b4ea180d1becda75e810e87
treefbd577a64563fe264d38c957132d468058470f3b
parenta7d801afc3d4d1c8aaa0449f17b9f9ce62e16236
layered parport code uses parport->dev

Update some of the layered parport_driver code to use parport->dev:

- i2c-parport (parent of i2c_adapter)
- spi_butterfly (parent of spi_master, allowing cruft removal)
- lp (creating class_device)
- ppdev (parent of parportN device)
- tipar (creating class_device)

There are still drivers that should be updated, like some of the input
drivers; but they won't be any worse off than they are today.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Greg KH <greg@kroah.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/lp.c
drivers/char/ppdev.c
drivers/char/tipar.c
drivers/i2c/busses/i2c-parport.c
drivers/spi/spi_butterfly.c