Re: [PATCH 02/11] Input: synaptics-rmi4 - remove unused rmi_f01_remove()

From: Christopher Heiny
Date: Thu Feb 13 2014 - 14:11:58 EST


On 02/12/2014 09:27 PM, Dmitry Torokhov wrote:
It is an empty stub and is not needed.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Signed-off-by: Christopher Heiny <cheiny@xxxxxxxxxxxxx>

---
drivers/input/rmi4/rmi_f01.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c
index 92b90d1..897d8ac 100644
--- a/drivers/input/rmi4/rmi_f01.c
+++ b/drivers/input/rmi4/rmi_f01.c
@@ -451,11 +451,6 @@ static int rmi_f01_probe(struct rmi_function *fn)
return 0;
}

-static void rmi_f01_remove(struct rmi_function *fn)
-{
- /* Placeholder for now. */
-}
-
#ifdef CONFIG_PM_SLEEP
static int rmi_f01_suspend(struct device *dev)
{
@@ -554,7 +549,6 @@ static struct rmi_function_handler rmi_f01_handler = {
},
.func = 0x01,
.probe = rmi_f01_probe,
- .remove = rmi_f01_remove,
.config = rmi_f01_config,
.attention = rmi_f01_attention,
};



--

Christopher Heiny
Senior Staff Firmware Engineer
Synaptics Incorporated
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/