From: Himangi Saraogi Date: Thu, 14 Aug 2014 16:44:30 +0000 (+0530) Subject: Drivers: ide: Remove typedef atiixp_ide_timing X-Git-Tag: fixes-against-v3.18-rc2~63^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7546e52b5e3d46d0deae4a336252b6dfd52c6571;p=pandora-kernel.git 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 Acked-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed