linux: linux_parent_dev search for . from the right
authorHans de Goede <hdegoede@redhat.com>
Thu, 16 May 2013 13:02:12 +0000 (15:02 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 16 May 2013 15:18:32 +0000 (17:18 +0200)
commit50f79a1ada1df394dfeac4975e37b087a124e321
tree35d038da9c154f5fd532094dc18a06ea119b1019
parent8ad7e5ad5124b77707b3dcb844f469592c2ec43b
linux: linux_parent_dev search for . from the right

If hubs are chained to other hubs there will be multiple '.' characters, and
want the last one.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/os/linux_usbfs.c
libusb/version_nano.h