parport: add device-model to parport subsystem
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 20 May 2015 15:26:57 +0000 (20:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 22:08:18 +0000 (07:08 +0900)
commit6fa45a22689722dac9f0e90c0931d4b34b334ede
treed3f766b8771a0004cb21690b55e75f0ce1aba014
parent208250dd4c3dd54963db85340cdc5e4c2acef5b5
parport: add device-model to parport subsystem

parport subsystem starts using the device-model. Drivers using the
device-model has to define devmodel as true and should register the
device with parport using parport_register_dev_model().

Tested-by: Jean Delvare <jdelvare@suse.de>
Tested-by: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_pc.c
drivers/parport/procfs.c
drivers/parport/share.c
include/linux/parport.h