diff options
author | tonyj@suse.de <tonyj@suse.de> | 2007-08-07 22:28:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:51:04 -0700 |
commit | 60043428a561a5d431ad479b7ecb79805ed04efc (patch) | |
tree | 3e143a2a4872987c38719fd07d18940d2acd77c5 /drivers/acpi | |
parent | 34b51f39e23bc9e529830ddf6108381d4bab95a6 (diff) | |
download | op-kernel-dev-60043428a561a5d431ad479b7ecb79805ed04efc.zip op-kernel-dev-60043428a561a5d431ad479b7ecb79805ed04efc.tar.gz |
Convert from class_device to device for drivers/video
Convert from class_device to device for drivers/video.
Signed-off-by: Tony Jones <tonyj@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index d05891f..b8a2095 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -316,7 +316,7 @@ static int acpi_video_output_get(struct output_device *od) { unsigned long state; struct acpi_video_device *vd = - (struct acpi_video_device *)class_get_devdata(&od->class_dev); + (struct acpi_video_device *)dev_get_drvdata(&od->dev); acpi_video_device_get_state(vd, &state); return (int)state; } @@ -325,7 +325,7 @@ static int acpi_video_output_set(struct output_device *od) { unsigned long state = od->request_state; struct acpi_video_device *vd= - (struct acpi_video_device *)class_get_devdata(&od->class_dev); + (struct acpi_video_device *)dev_get_drvdata(&od->dev); return acpi_video_device_set_state(vd, state); } |