[PATCH] ppdev: check before attaching port

2016-11-12 Thread Sudip Mukherjee
After parport starts using the device model, all pardevice drivers should decide in their match_port callback function if they want to attach with that particulatr port. ppdev has been converted to use the new parport device-model code but pp_attach() tried to attach with all the ports. Create a

[PATCH] ppdev: check before attaching port

2016-11-12 Thread Sudip Mukherjee
After parport starts using the device model, all pardevice drivers should decide in their match_port callback function if they want to attach with that particulatr port. ppdev has been converted to use the new parport device-model code but pp_attach() tried to attach with all the ports. Create a