summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/driver.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-09-23 22:01:27 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 18:24:51 +0200
commit3ce24d8d93f8f9617841d0c8416174da7ee1b042 (patch)
tree3658cd5d9131572b7822cc32bd07a672bdfdb243 /drivers/pnp/driver.c
parentusb: turn dev_warn+WARN_ON combos into dev_WARN (diff)
downloadlinux-3ce24d8d93f8f9617841d0c8416174da7ee1b042.tar.xz
linux-3ce24d8d93f8f9617841d0c8416174da7ee1b042.zip
Driver core: make bus_find_device_by_name() more robust
Use sysfs_streq() in bus_find_device_by_name() so trailing newlines are ignored (E.G. in bind/unbind). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pnp/driver.c')
0 files changed, 0 insertions, 0 deletions