diff mbox series

scsi: zorro_esp: Restore devm_ioremap() alignment

Message ID 20200212085138.10009-1-geert+renesas@glider.be (mailing list archive)
State Mainlined
Commit 0d9630084cf83537a63ed9be727acffd8c0253d2
Headers show
Series scsi: zorro_esp: Restore devm_ioremap() alignment | expand

Commit Message

Geert Uytterhoeven Feb. 12, 2020, 8:51 a.m. UTC
Restore alignment of the continuations of the ioremap() calls in
zorro_esp_probe().  Join lines where all parameters can fit on a single
line.

Fixes: 4bdc0d676a643140 ("remove ioremap_nocache and devm_ioremap_nocache")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/scsi/zorro_esp.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Martin K. Petersen Feb. 13, 2020, 3:47 a.m. UTC | #1
Geert,

> Restore alignment of the continuations of the ioremap() calls in
> zorro_esp_probe().  Join lines where all parameters can fit on a single
> line.

Applied to 5.7/scsi-queue, thanks!
diff mbox series

Patch

diff --git a/drivers/scsi/zorro_esp.c b/drivers/scsi/zorro_esp.c
index bdd82e497d5fcb7c..c6727bcbc2e3268d 100644
--- a/drivers/scsi/zorro_esp.c
+++ b/drivers/scsi/zorro_esp.c
@@ -801,8 +801,7 @@  static int zorro_esp_probe(struct zorro_dev *z,
 	/* additional setup required for Fastlane */
 	if (zep->zorro3 && ent->driver_data == ZORRO_BLZ1230II) {
 		/* map full address space up to ESP base for DMA */
-		zep->board_base = ioremap(board,
-						FASTLANE_ESP_ADDR-1);
+		zep->board_base = ioremap(board, FASTLANE_ESP_ADDR - 1);
 		if (!zep->board_base) {
 			pr_err("Cannot allocate board address space\n");
 			err = -ENOMEM;
@@ -843,7 +842,7 @@  static int zorro_esp_probe(struct zorro_dev *z,
 		 * dma_registers size if adding any more
 		 */
 		esp->dma_regs = ioremap(dmaaddr,
-				sizeof(struct fastlane_dma_registers));
+					sizeof(struct fastlane_dma_registers));
 	} else
 		/* ZorroII address space remapped nocache by early startup */
 		esp->dma_regs = ZTWO_VADDR(dmaaddr);