intel_th: pti: Create sysfs attributes using core driver's facility
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 4 Mar 2016 17:55:10 +0000 (19:55 +0200)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 8 Apr 2016 13:11:57 +0000 (16:11 +0300)
commite8644e4c2aa5c52c357f63af9cc17ef5dce38396
tree97cb91dcd46630affb7f37b9bbc47e083e67cd8d
parent9d482aedd0e2389b483ea8ea727ec201b65e2f27
intel_th: pti: Create sysfs attributes using core driver's facility

The core intel_th driver allows subdevices to bring in their sysfs
attributes. Use this instead of taking care of them in probe and
remove.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Laurent Fert <laurent.fert@intel.com>
drivers/hwtracing/intel_th/pti.c