提交 9e0af8a4 编写于 作者: U Uwe Kleine-König 提交者: Dmitry Torokhov

Input: sparkspkr - move remove() functions to .devexit.text

The function bbc_remove and grover_remove are used only wrapped
by __devexit_p so define it using __devexit.
Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: NSam Ravnborg <sam@ravnborg.org>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 3bfb0a7e
......@@ -230,7 +230,7 @@ static int __devinit bbc_beep_probe(struct of_device *op, const struct of_device
return err;
}
static int bbc_remove(struct of_device *op)
static int __devexit bbc_remove(struct of_device *op)
{
struct sparcspkr_state *state = dev_get_drvdata(&op->dev);
struct input_dev *input_dev = state->input_dev;
......@@ -308,7 +308,7 @@ static int __devinit grover_beep_probe(struct of_device *op, const struct of_dev
return err;
}
static int grover_remove(struct of_device *op)
static int __devexit grover_remove(struct of_device *op)
{
struct sparcspkr_state *state = dev_get_drvdata(&op->dev);
struct grover_beep_info *info = &state->u.grover;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册