diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-14 18:44:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-15 20:27:38 +0200 |
commit | 7546e52b5e3d46d0deae4a336252b6dfd52c6571 (patch) | |
tree | 095ab5f0583801feeb0a06155122e2d685707da2 /drivers/ide/umc8672.c | |
parent | Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/... (diff) | |
download | linux-7546e52b5e3d46d0deae4a336252b6dfd52c6571.tar.xz linux-7546e52b5e3d46d0deae4a336252b6dfd52c6571.zip |
Drivers: ide: Remove typedef atiixp_ide_timing
The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedef for
atiixp_ide_timing.
The following Coccinelle semantic patch detects the case:
@tn1@
type td;
@@
typedef struct { ... } td;
@script:python tf@
td << tn1.td;
tdres;
@@
coccinelle.tdres = td;
@@
type tn1.td;
identifier tf.tdres;
@@
-typedef
struct
+ tdres
{ ... }
-td
;
@@
type tn1.td;
identifier tf.tdres;
@@
-td
+ struct tdres
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/umc8672.c')
0 files changed, 0 insertions, 0 deletions