summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOndrej Zary <linux@zary.sk>2023-02-19 01:01:28 +0300
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2023-03-23 04:29:25 +0300
commit882ff0ca354ada5f52e26d74039b2210b3070dcc (patch)
tree04684519fe6b52196bcc0b101bb1cb63b249396f /include/linux
parenta4f2ff92ed4a0305920a46aba0ae8d50139548c0 (diff)
downloadlinux-882ff0ca354ada5f52e26d74039b2210b3070dcc.tar.xz
ata: pata_parport: remove typedef struct PIA
Remove typedef struct PIA and use struct pi_adapter directly. Fix formatting (excessive spaces) while at it. 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 'include/linux')
-rw-r--r--include/linux/pata_parport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pata_parport.h b/include/linux/pata_parport.h
index dcab769aa639..381b4d0e3574 100644
--- a/include/linux/pata_parport.h
+++ b/include/linux/pata_parport.h
@@ -24,8 +24,6 @@ struct pi_adapter {
struct pardevice *pardev; /* pointer to pardevice */
};
-typedef struct pi_adapter PIA; /* for paride protocol modules */
-
/* registers are addressed as (cont,regr)
* cont: 0 for command register file, 1 for control register(s)
* regr: 0-7 for register number.