Linus Torvalds 1701f68040 Revert "ppdev: use new parport device model"
This reverts commit e7223f18603374d235d8bb0398532323e5f318b9.

It causes problems when a ppdev tries to register before the parport
driver has been registered with the device model. That will trigger the

        BUG_ON(!drv->bus->p);

at drivers/base/driver.c:153. The call chain is

  kernel_init ->
    kernel_init_freeable ->
      do_one_initcall ->
        ppdev_init ->
          __parport_register_driver ->
            driver_register *BOOM*

Reported-by: kernel test robot <fengguang.wu@intel.com>
Reported-by: Ross Zwisler <zwisler@gmail.com>
Reported-by: Petr Mladek <pmladek@suse.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-03-25 09:02:13 -07:00
..
2016-01-28 14:13:44 -08:00
2013-05-05 00:11:29 -04:00
2013-02-22 23:31:31 -05:00
2013-05-05 00:12:29 -04:00
2016-02-17 09:39:56 +01:00
2013-12-18 16:39:54 -08:00
2011-03-31 11:26:23 -03:00
2013-02-22 23:31:31 -05:00
2016-01-22 18:04:28 -05:00
2011-01-10 08:51:44 -08:00
2015-03-25 20:28:11 -04:00
2013-10-16 12:36:10 -07:00