summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-09-02 18:20:59 +0530
committerRusty Russell <rusty@rustcorp.com.au>2010-10-21 17:44:03 +1030
commitd22a69892bd8f29e3096f6f54c2c00d8aec2e796 (patch)
tree3deb620fc46810c15ab2d3b3cfb09d960666b40e /drivers/power
parent04950cdf071b6e5aa4794c93ad3e3ce8a1c4aa8c (diff)
virtio: console: Use cdev_alloc() instead of cdev_init()
This moves to using cdev on the heap instead of it being embedded in the ports struct. This helps individual refcounting and will allow us to properly remove cdev structs after hot-unplugs and close operations. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions