Refactoring parts of the common USB OHCI code
authorRemy Bohmer <linux@bohmer.net>
Tue, 16 Sep 2008 12:55:43 +0000 (14:55 +0200)
committerMarkus Klotzbuecher <mk@denx.de>
Wed, 17 Sep 2008 13:41:16 +0000 (15:41 +0200)
commit6f5794a6f78b313231256958fd73673c6aacc116
tree18625cc19b9f3a940e71be7e3a48ea2f843d988e
parentbe19d324edc1a1d7f393d24e10d164cd94c91a00
Refactoring parts of the common USB OHCI code

This patch refactors some large routines of the USB OHCI code by
making some routines smaller and more readable which helps
debugging and understanding the code. (Makes the code looks
somewhat more like the Linux implementation.)

Also made entire file compliant to Linux Coding Rules (checkpatch.pl compliant)

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
common/usb.c
drivers/usb/usb_ohci.c
drivers/usb/usb_ohci.h