diff options
author | Jes Sorensen | 2015-05-05 18:36:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-05-08 15:27:29 +0200 |
commit | 0d622e84f8063d4aab75a3d4e4de72efcb85dacb (patch) | |
tree | 28c2d67d4442dbdc08442e8f6ca3966a1eced5f8 | |
parent | 0abb60c1c5c32be56e5a67fcc437fcd18e38c2b2 (diff) |
staging: unisys: visorchannel_create_guts(): Use visorchannel_read()
There is no benefit to calling visor_memregion_read() at this point.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/unisys/visorbus/visorchannel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c index da7bd9c362f7..6d7ea8bf435d 100644 --- a/drivers/staging/unisys/visorbus/visorchannel.c +++ b/drivers/staging/unisys/visorbus/visorchannel.c @@ -78,8 +78,8 @@ visorchannel_create_guts(HOSTADDRESS physaddr, ulong channel_bytes, channel->memregion.physaddr = physaddr; channel->memregion.nbytes = size; - err = visor_memregion_read(&channel->memregion, 0, &channel->chan_hdr, - sizeof(struct channel_header)); + err = visorchannel_read(channel, 0, &channel->chan_hdr, + sizeof(struct channel_header)); if (err) goto cleanup; |