diff options
author | Nick Dyer <nick@shmanahar.org> | 2016-11-08 02:36:57 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-11-09 01:23:22 +0100 |
commit | 8029a283c4ac100dc4492993633d4c87a7da55d6 (patch) | |
tree | 7d0ae966f8225f7a3879af609bcab0e0434b324b /drivers/input/rmi4/rmi_bus.c | |
parent | Input: synaptics-rmi4 - factor out functions from probe (diff) | |
download | linux-8029a283c4ac100dc4492993633d4c87a7da55d6.tar.xz linux-8029a283c4ac100dc4492993633d4c87a7da55d6.zip |
Input: synaptics-rmi4 - add a couple of debug lines
Signed-off-by: Nick Dyer <nick@shmanahar.org>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/rmi_bus.c')
-rw-r--r-- | drivers/input/rmi4/rmi_bus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/rmi4/rmi_bus.c b/drivers/input/rmi4/rmi_bus.c index 09c769c6e91f..84b321262d74 100644 --- a/drivers/input/rmi4/rmi_bus.c +++ b/drivers/input/rmi4/rmi_bus.c @@ -231,6 +231,9 @@ err_put_device: void rmi_unregister_function(struct rmi_function *fn) { + rmi_dbg(RMI_DEBUG_CORE, &fn->dev, "Unregistering F%02X.\n", + fn->fd.function_number); + device_del(&fn->dev); of_node_put(fn->dev.of_node); put_device(&fn->dev); |