intel_th: msu: 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)
commit9d482aedd0e2389b483ea8ea727ec201b65e2f27
treed99de722362e6eda3c191b3dde38c0af28d2f379
parentb5edbf1ea3ad044b185be7015cffabba9c442660
intel_th: msu: 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/msu.c