diff options
author | Laurentiu Tudor <laurentiu.tudor@nxp.com> | 2017-02-07 09:43:46 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-09 13:26:01 +0100 |
commit | 95b3523b723e5354a375f4d185c74970322c7bf5 (patch) | |
tree | 2bc045d342337c4e4495664177bc79b16acb0521 /COPYING | |
parent | 95b5daf5326a3875a1e7b8f32b61d24bb790ef43 (diff) |
staging: fsl-mc: add device release callback
When hot unplugging a mc-bus device the kernel displays
this pertinent message, followed by a stack dump:
"Device 'foo.N' does not have a release() function,
it is broken and must be fixed."
Add the required callback to fix and drop the now
uneeded explicit freeing.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions