summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_parport/aten.c
diff options
context:
space:
mode:
authorOndrej Zary <linux@zary.sk>2023-02-18 23:01:33 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2023-03-23 10:29:25 +0900
commit426eb3c567d3369e20d7ff4e7e8e1049946d0272 (patch)
tree0272a33bd5a72fafdf08a3adbb6fd73c63d01669 /drivers/ata/pata_parport/aten.c
parent68f28e4177623a05da44f076a952d0704e7baa05 (diff)
ata: pata_parport: simplify log_adapter prints, remove VERSION defines
Merge log_adapter prints to single one, remove version print and meaningless VERSION defines. Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Ondrej Zary <linux@zary.sk> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/pata_parport/aten.c')
-rw-r--r--drivers/ata/pata_parport/aten.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/ata/pata_parport/aten.c b/drivers/ata/pata_parport/aten.c
index ccbba14ccab1..8995a4a08b76 100644
--- a/drivers/ata/pata_parport/aten.c
+++ b/drivers/ata/pata_parport/aten.c
@@ -15,8 +15,6 @@
*/
-#define ATEN_VERSION "1.01"
-
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
@@ -124,10 +122,8 @@ static void aten_log_adapter(struct pi_adapter *pi)
{ char *mode_string[2] = {"4-bit","8-bit"};
- dev_info(&pi->dev, "aten %s, ATEN EH-100 at 0x%x, ", ATEN_VERSION, pi->port);
- dev_info(&pi->dev, "mode %d (%s), delay %d\n", pi->mode,
- mode_string[pi->mode],pi->delay);
-
+ dev_info(&pi->dev, "ATEN EH-100 at 0x%x, mode %d (%s), delay %d\n",
+ pi->port, pi->mode, mode_string[pi->mode], pi->delay);
}
static struct pi_protocol aten = {