commit | 262235b13c22f6b7f84173f350964e71a849067d | [log] [tgz] |
---|---|---|
author | Eduardo Valentin <eduardo.valentin@ti.com> | Mon Apr 08 08:19:14 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 08 10:35:09 2013 -0700 |
tree | 32d5c84ee6bf31f49f040cadfa4fd7ec209900ba | |
parent | f1553334236701f1c790d6dc800d8f327b6c5166 [diff] |
staging: ti-soc-thermal: fix device removal While removing, the device needs to unregister the sensor from thermal framework. Before calling the call back the driver needs to check if the call back is registered. This patch fix the check by checking the right callback. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>