usb: gadget: serial: remove PREFIX macro
authorRichard Leitner <richard.leitner@skidata.com>
Thu, 21 Aug 2014 06:57:28 +0000 (08:57 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 27 Aug 2014 19:13:18 +0000 (14:13 -0500)
commitc572a217d1b81209ae5a4fe09a96db758f86f10b
tree377f0e2fc3df187b6915ede0c39cb83f479cd8af
parentb8b0ea51b381a43c3179281a7aaf95b49f9f5f7b
usb: gadget: serial: remove PREFIX macro

Remove the ttyGS PREFIX macro from u_serial.c and replace all occurences with
the hardcoded ttyGS string.

This macro was mostly used in a few debug/warning messages and a lot of
hardcoded ttyGS existed beneath. It may have been used for renaming the
tty, but if done so most debug messages would have ignored this.

Due to the fact the usage of this PREFIX in all debug calls would have
resulted in a hard to read/grep code it is removed completely.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/u_serial.c
This page took 0.024764 seconds and 5 git commands to generate.