stm class: Plug stm device's unlink callback
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Mon, 15 Feb 2016 17:12:09 +0000 (19:12 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:28:48 +0000 (15:28 -0600)
commitd3b187f9c7bc7f9f73e4064041890fd71de9f5b3
tree7d8562607c72127a5b57ea7383ae0c03b1298225
parentfffb71e99d58c8d8a1481821a9d39d90b004dc38
stm class: Plug stm device's unlink callback

STM device's unlink callback is never actually called from anywhere in
the stm class code.

This patch adds calls to stm driver's unlink method after the unlinking
has succeeded.

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