aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/ixp4xx-beeper.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:35:32 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:35:32 -0400
commit293e6392d72dfaef1f6aef605769869512bec45d (patch)
tree997d2e3ef4df9f8d5a65ed2e9344251c4dff0a1f /drivers/input/misc/ixp4xx-beeper.c
parent935e658e89678a7e3427b90cd7a1c86025d95bfe (diff)
Input: misc devices - switch to using input_dev->dev.parent
In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/ixp4xx-beeper.c')
-rw-r--r--drivers/input/misc/ixp4xx-beeper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c
index da6650caf7b5..3d4b619dadab 100644
--- a/drivers/input/misc/ixp4xx-beeper.c
+++ b/drivers/input/misc/ixp4xx-beeper.c
@@ -107,7 +107,7 @@ static int __devinit ixp4xx_spkr_probe(struct platform_device *dev)
107 input_dev->id.vendor = 0x001f; 107 input_dev->id.vendor = 0x001f;
108 input_dev->id.product = 0x0001; 108 input_dev->id.product = 0x0001;
109 input_dev->id.version = 0x0100; 109 input_dev->id.version = 0x0100;
110 input_dev->cdev.dev = &dev->dev; 110 input_dev->dev.parent = &dev->dev;
111 111
112 input_dev->evbit[0] = BIT(EV_SND); 112 input_dev->evbit[0] = BIT(EV_SND);
113 input_dev->sndbit[0] = BIT(SND_BELL) | BIT(SND_TONE); 113 input_dev->sndbit[0] = BIT(SND_BELL) | BIT(SND_TONE);