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)
commit61ad04a89f0e3e6adaed0d9adfc0c9b431ccbb92
tree7aefa64191cc2628be8c9a756b6f08bf6ff36ba0
parentcd9f03759d3eb588e185b04e1854c778b050833e
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