usb: typec: tipd: Separate file for tracepoint creation
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 10 Mar 2021 10:46:30 +0000 (13:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Mar 2021 14:32:20 +0000 (15:32 +0100)
commit14b02f023c094767ffc21156fbb40be52ed2b4f2
tree3c93087602bf9c91cf26d9127e301497dc4e2052
parent2786d8618a92f4108092b5f20044b06fca83f389
usb: typec: tipd: Separate file for tracepoint creation

Creating the tracepoints only when tracing is enabled.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20210310104630.77945-4-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tipd/Makefile
drivers/usb/typec/tipd/core.c [moved from drivers/usb/typec/tipd/tps6598x.c with 99% similarity]
drivers/usb/typec/tipd/trace.c [new file with mode: 0644]
drivers/usb/typec/tipd/trace.h [moved from drivers/usb/typec/tipd/tps6598x_trace.h with 99% similarity]