ppdev: use new parport device model
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 1 Jun 2016 12:20:08 +0000 (17:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 12:22:49 +0000 (14:22 +0200)
commit8b7d3a9d903ee1d1f5febc8e74223e4e72720e35
tree22da0ef873e14d51b31ef96eea917e6fbad84d4d
parent5ed22cebbacc3d434fe4df5e7178cb2b79042d41
ppdev: use new parport device model

Modify ppdev driver to use the new parallel port device model.

Initially submitted and committed as:
e7223f186033 ("ppdev: use new parport device model")

But due to some regression it was reverted by:
1701f680407c ("Revert "ppdev: use new parport device model"")

Now that the original source of regression is fixed by:
bbca503b2ee0 ("parport: use subsys_initcall") we can again modify ppdev
to use device model.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/ppdev.c