summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorGargi Sharma <gs051095@gmail.com>2017-03-15 22:17:41 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-16 11:33:04 +0900
commit702d8d0f0e6927ab8802f1496c80167ad41e97d9 (patch)
treebfed06dcd49d1e6d85f9745ee738dc9b233c181f /drivers/staging/rtl8188eu
parent363c6fefa68b22d09ec8be6620f843272b8fef06 (diff)
downloadlinux-stable-702d8d0f0e6927ab8802f1496c80167ad41e97d9.tar.gz
linux-stable-702d8d0f0e6927ab8802f1496c80167ad41e97d9.tar.bz2
linux-stable-702d8d0f0e6927ab8802f1496c80167ad41e97d9.zip
staging: vc04_services: Replace typedef with struct
Using typedef for a structure type and upper case struct names is not suggested in Linux kernel coding style guidelines. Hence, occurences of typedefs have been removed and struct names converted to lowercase in the file. Grep was also used to ensure that all occurence of the typedefs have been removed. The module compiles without any warnings or errors. Script 1: @r1@ type T; @@ typedef struct { ... } T; @script:python c1@ T2; T << r1.T; @@ if T[-2:] =="_T": coccinelle.T2 = T[:-2].lower(); print T else: coccinelle.T2=T.lower(); @r2@ type r1.T; identifier c1.T2; @@ -typedef struct + T2 { ... } -T ; @r3@ type r1.T; identifier c1.T2; @@ - T + struct T2 Script 2: @@ typedef VCHIQ_ELEMENT_T; @@ ( - VCHIQ_ELEMENT_T + struct vchiq_element ) Signed-off-by: Gargi Sharma <gs051095@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
0 files changed, 0 insertions, 0 deletions