diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-22 12:08:19 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-22 12:08:23 +0200 |
commit | 4f0076f77fb64889d4e5e425b63333e5764b446d (patch) | |
tree | aa18259974eeb424277490254da48bd75df5ebb8 /drivers/s390/char/raw3270.c | |
parent | 4a9c75255e1fef4247cf960d3c3eb528c8cd8409 (diff) | |
download | blackbird-op-linux-4f0076f77fb64889d4e5e425b63333e5764b446d.tar.gz blackbird-op-linux-4f0076f77fb64889d4e5e425b63333e5764b446d.zip |
[S390] driver_data access
Replace the remaining direct accesses to the driver_data pointer
with calls to the dev_get_drvdata() and dev_set_drvdata() functions.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/raw3270.c')
-rw-r--r-- | drivers/s390/char/raw3270.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/raw3270.c b/drivers/s390/char/raw3270.c index 9047b62294d0..d6a022f55e92 100644 --- a/drivers/s390/char/raw3270.c +++ b/drivers/s390/char/raw3270.c @@ -1322,7 +1322,7 @@ static int raw3270_pm_stop(struct ccw_device *cdev) struct raw3270_view *view; unsigned long flags; - rp = cdev->dev.driver_data; + rp = dev_get_drvdata(&cdev->dev); if (!rp) return 0; spin_lock_irqsave(get_ccwdev_lock(rp->cdev), flags); @@ -1348,7 +1348,7 @@ static int raw3270_pm_start(struct ccw_device *cdev) struct raw3270 *rp; unsigned long flags; - rp = cdev->dev.driver_data; + rp = dev_get_drvdata(&cdev->dev); if (!rp) return 0; spin_lock_irqsave(get_ccwdev_lock(rp->cdev), flags); |