]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf723b0f9e3f04443d5d5b53b464237ed96e012eb
tree377f0e2fc3df187b6915ede0c39cb83f479cd8af
parentf6ea5cd4f004131474e7c988891e3630c03a427f
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