intel_th: Allow subdevice drivers to bring in own attribute groups
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 4 Mar 2016 17:42:48 +0000 (19:42 +0200)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 8 Apr 2016 13:11:56 +0000 (16:11 +0300)
commitb5edbf1ea3ad044b185be7015cffabba9c442660
tree8b49f20d96bef096649200656e4838a90ce09c3e
parent6575cbd67172bbcbfbb50ddd854d2b90c9f4e358
intel_th: Allow subdevice drivers to bring in own attribute groups

Some subdevices (MSU, PTI) need to register their own driver-specific
attribute groups. Provide a way for those to pass their attribute
groups to the core driver in their driver structure so that the
core can take care of creating and removing them.

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