diff mbox

pata_atiixp: fix trivial indentation misalignment on if statement

Message ID 1463398503-19751-1-git-send-email-colin.king@canonical.com
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Colin Ian King May 16, 2016, 11:35 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Remove extraneous space on if statement and on the following line,
trivial fix, no functional change

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/ata/pata_atiixp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Tejun Heo May 27, 2016, 3:23 p.m. UTC | #1
On Mon, May 16, 2016 at 12:35:03PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Remove extraneous space on if statement and on the following line,
> trivial fix, no functional change
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied to libata/for-4.8.

Thanks.
diff mbox

Patch

diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c
index 970f776..49d705c 100644
--- a/drivers/ata/pata_atiixp.c
+++ b/drivers/ata/pata_atiixp.c
@@ -183,8 +183,8 @@  static void atiixp_set_dmamode(struct ata_port *ap, struct ata_device *adev)
 	 *	We must now look at the PIO mode situation. We may need to
 	 *	adjust the PIO mode to keep the timings acceptable
 	 */
-	 if (adev->dma_mode >= XFER_MW_DMA_2)
-	 	wanted_pio = 4;
+	if (adev->dma_mode >= XFER_MW_DMA_2)
+		wanted_pio = 4;
 	else if (adev->dma_mode == XFER_MW_DMA_1)
 		wanted_pio = 3;
 	else if (adev->dma_mode == XFER_MW_DMA_0)