diff options
author | Thierry Reding <treding@nvidia.com> | 2016-06-23 11:35:50 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2016-06-23 11:59:30 +0200 |
commit | 0b8070d12ee2ef62e0b07213d843eb508fba966e (patch) | |
tree | 59322f17c817b8b17f36e47fec173beed68894a3 /drivers/gpu/host1x/dev.c | |
parent | 6df633d0dc333ffce683f46f2856024479b170b9 (diff) | |
download | blackbird-op-linux-0b8070d12ee2ef62e0b07213d843eb508fba966e.tar.gz blackbird-op-linux-0b8070d12ee2ef62e0b07213d843eb508fba966e.zip |
gpu: host1x: Whitespace cleanup for readability
Insert a number of blank lines in places where they increase readability
of the code. Also collapse various variable declarations to shorten some
functions and finally rewrite some code for readability.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/dev.c')
-rw-r--r-- | drivers/gpu/host1x/dev.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 320caf99cff4..a62317af76ad 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -63,13 +63,13 @@ u32 host1x_ch_readl(struct host1x_channel *ch, u32 r) } static const struct host1x_info host1x01_info = { - .nb_channels = 8, - .nb_pts = 32, - .nb_mlocks = 16, - .nb_bases = 8, - .init = host1x01_init, - .sync_offset = 0x3000, - .dma_mask = DMA_BIT_MASK(32), + .nb_channels = 8, + .nb_pts = 32, + .nb_mlocks = 16, + .nb_bases = 8, + .init = host1x01_init, + .sync_offset = 0x3000, + .dma_mask = DMA_BIT_MASK(32), }; static const struct host1x_info host1x02_info = { |