]> git.baikalelectronics.ru Git - kernel.git/commit
usbfs: simplify the lookup-by-minor routines
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 24 Jun 2008 18:47:12 +0000 (14:47 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:41 +0000 (15:16 -0700)
commit6050fd880adae1cb8f385a48a3527187df86e1da
tree7aefa64191cc2628be8c9a756b6f08bf6ff36ba0
parentf6c736fd791e48a57cd6b0df72edf65d9c623161
usbfs: simplify the lookup-by-minor routines

This patch (as1105) simplifies the lookup-by-minor-number code in
usbfs.  Instead of passing the minor number to the callback, which
must then reconstruct the entire dev_t value, the patch passes the
dev_t value directly.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devio.c