Commit e3da4c40 authored by Damien Le Moal's avatar Damien Le Moal

ata: pata_parport: Fix code style issues

Fix indentation and other code style issues in the comm.c file.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202309150646.n3iBvbPj-lkp@intel.com/Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent 737dd811
...@@ -90,7 +90,6 @@ static void comm_connect(struct pi_adapter *pi) ...@@ -90,7 +90,6 @@ static void comm_connect(struct pi_adapter *pi)
} }
static void comm_disconnect(struct pi_adapter *pi) static void comm_disconnect(struct pi_adapter *pi)
{ {
w2(0); w2(0); w2(0); w2(4); w2(0); w2(0); w2(0); w2(4);
w0(pi->saved_r0); w0(pi->saved_r0);
...@@ -176,8 +175,8 @@ static void comm_write_block(struct pi_adapter *pi, char *buf, int count) ...@@ -176,8 +175,8 @@ static void comm_write_block(struct pi_adapter *pi, char *buf, int count)
} }
static void comm_log_adapter(struct pi_adapter *pi) static void comm_log_adapter(struct pi_adapter *pi)
{
{ char *mode_string[5] = { "4-bit", "8-bit", "EPP-8", "EPP-16", "EPP-32" }; char *mode_string[5] = { "4-bit", "8-bit", "EPP-8", "EPP-16", "EPP-32" };
dev_info(&pi->dev, dev_info(&pi->dev,
"DataStor Commuter at 0x%x, mode %d (%s), delay %d\n", "DataStor Commuter at 0x%x, mode %d (%s), delay %d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment