diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 07:35:32 +0200 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 07:35:32 +0200 |
commit | 293e6392d72dfaef1f6aef605769869512bec45d (patch) | |
tree | 997d2e3ef4df9f8d5a65ed2e9344251c4dff0a1f /drivers/input/misc/pcspkr.c | |
parent | Input: joysticks - switch to using input_dev->dev.parent (diff) | |
download | linux-293e6392d72dfaef1f6aef605769869512bec45d.tar.xz linux-293e6392d72dfaef1f6aef605769869512bec45d.zip |
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/pcspkr.c')
-rw-r--r-- | drivers/input/misc/pcspkr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/pcspkr.c b/drivers/input/misc/pcspkr.c index afd322185bbf..31989dcd922c 100644 --- a/drivers/input/misc/pcspkr.c +++ b/drivers/input/misc/pcspkr.c @@ -78,7 +78,7 @@ static int __devinit pcspkr_probe(struct platform_device *dev) pcspkr_dev->id.vendor = 0x001f; pcspkr_dev->id.product = 0x0001; pcspkr_dev->id.version = 0x0100; - pcspkr_dev->cdev.dev = &dev->dev; + pcspkr_dev->dev.parent = &dev->dev; pcspkr_dev->evbit[0] = BIT(EV_SND); pcspkr_dev->sndbit[0] = BIT(SND_BELL) | BIT(SND_TONE); |