diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-14 19:43:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-14 19:43:47 -0500 |
commit | 6ae840e7cc4be0be3aa40d9f67c35c75cfc67d83 (patch) | |
tree | 9c83c87a8670ef678d95f8d6f76a07f24a09a49f /drivers/parport | |
parent | e6b5be2be4e30037eb551e0ed09dd97bd00d85d3 (diff) | |
parent | 91905b6f4afe51e23a3f58df93e4cdc5e49cf40c (diff) |
Merge tag 'char-misc-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver updates from Greg KH:
"Here's the big char/misc driver update for 3.19-rc1
Lots of little things all over the place in different drivers, and a
new subsystem, "coresight" has been added. Full details are in the
shortlog"
* tag 'char-misc-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (73 commits)
parport: parport_pc, do not remove parent devices early
spmi: Remove shutdown/suspend/resume kernel-doc
carma-fpga-program: drop videobuf dependency
carma-fpga: drop videobuf dependency
carma-fpga-program.c: fix compile errors
i8k: Fix temperature bug handling in i8k_get_temp()
cxl: Name interrupts in /proc/interrupt
CXL: Return error to PSL if IRQ demultiplexing fails & print clearer warning
coresight-replicator: remove .owner field for driver
coresight: fixed comments in coresight.h
coresight: fix typo in comment in coresight-priv.h
coresight: bindings for coresight drivers
coresight: Adding ABI documentation
w1: support auto-load of w1_bq27000 module.
w1: avoid potential u16 overflow
cn: verify msg->len before making callback
mei: export fw status registers through sysfs
mei: read and print all six FW status registers
mei: txe: add cherrytrail device id
mei: kill cached host and me csr values
...
Diffstat (limited to 'drivers/parport')
-rw-r--r-- | drivers/parport/parport_pc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index 7ae20b7a56bc..53d15b30636a 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c | |||
@@ -3339,13 +3339,14 @@ static void __exit parport_pc_exit(void) | |||
3339 | while (!list_empty(&ports_list)) { | 3339 | while (!list_empty(&ports_list)) { |
3340 | struct parport_pc_private *priv; | 3340 | struct parport_pc_private *priv; |
3341 | struct parport *port; | 3341 | struct parport *port; |
3342 | struct device *dev; | ||
3342 | priv = list_entry(ports_list.next, | 3343 | priv = list_entry(ports_list.next, |
3343 | struct parport_pc_private, list); | 3344 | struct parport_pc_private, list); |
3344 | port = priv->port; | 3345 | port = priv->port; |
3345 | if (port->dev && port->dev->bus == &platform_bus_type) | 3346 | dev = port->dev; |
3346 | platform_device_unregister( | ||
3347 | to_platform_device(port->dev)); | ||
3348 | parport_pc_unregister_port(port); | 3347 | parport_pc_unregister_port(port); |
3348 | if (dev && dev->bus == &platform_bus_type) | ||
3349 | platform_device_unregister(to_platform_device(dev)); | ||
3349 | } | 3350 | } |
3350 | } | 3351 | } |
3351 | 3352 | ||