summaryrefslogtreecommitdiffstats
path: root/drivers/usb/image
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2014-09-19 17:32:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 22:31:12 -0700
commiteb6e29248714d767d5338b8b82d286293e8a041a (patch)
tree338b633a4ff70da536a56b42fbf63e7164e4d257 /drivers/usb/image
parent5d14f323834eeb0cd428bcec4a9cd8d8839467fb (diff)
downloadblackbird-op-linux-eb6e29248714d767d5338b8b82d286293e8a041a.tar.gz
blackbird-op-linux-eb6e29248714d767d5338b8b82d286293e8a041a.zip
usb: hub: rename hub_events() to hub_event() and handle only one event there
We would like to convert khubd kthread to a workqueue. As a result hub_events() will handle only one event per call. In fact, we could do this already now because there is another cycle in hub_thread(). It calls hub_events() until hub_event_list is empty. This patch renames the function to hub_event(), removes the while cycle, and renames the goto targets from loop* to out*. When touching the code, it fixes also formatting of dev_err() and dev_dbg() calls to make checkpatch.pl happy :-) Signed-off-by: Petr Mladek <pmladek@suse.cz> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/image')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud