stm class: dummy_stm: Create multiple devices
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Mon, 15 Feb 2016 17:12:03 +0000 (19:12 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:28:44 +0000 (15:28 -0600)
commitbff93fcc5f62c9318652892c4310eaf551e5c2fa
tree234b25c3f9dba1b00b4d162a53ec2d746a7ab25d
parent548e3d400155fc6a3f473063368c7028a25d631b
stm class: dummy_stm: Create multiple devices

STM framework should be able to handle multiple STM devices at a time,
each one with its own master allocation policy.

This patch changes dummy_stm driver to create multiple STM sinks to
help testing the framework.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit bcfdf8afdebe63a2217fa632ae94f8aeecf9126f)
drivers/hwtracing/stm/dummy_stm.c