summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2015-10-12 23:22:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-17 08:46:27 +0200
commit32fb1939e3921691c71f7cd274d80d487af72fae (patch)
tree056d77446b29b3583ae2235011d61bb2a60c803c /Kbuild
parentusb/host/fotg210: convert macro to inline function (diff)
downloadlinux-32fb1939e3921691c71f7cd274d80d487af72fae.tar.xz
linux-32fb1939e3921691c71f7cd274d80d487af72fae.zip
usb/host/fotg210: Add function: output_buf_tds_dir()
checkpatch complains about too many leading tabs because the switch statement starts after 6 tabs. fill_periodic_buffer() -> for() -> do -> switch() -> if() -> list_for_each_entry() and finally the last switch(). This patch moves the list_for_each_entry() and the last switch() to a new function named output_buf_tds_dir(). This change makes the code easier to read and calm down checkpatch. This patch changes it to: fill_periodic_buffer() -> for() -> do -> switch() -> if() -> output_buf_tds_dir() Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions