diff options
author | Gargi Sharma <gs051095@gmail.com> | 2017-02-28 12:31:47 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 09:17:08 +0100 |
commit | 69385ad9abc34a9051e983f0b62a8f8e472a9037 (patch) | |
tree | ac84c1101b37c92f465c367a16e355a67476ca4e /drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c | |
parent | 22171e328fc629165d0cc48841076cac1972aa42 (diff) | |
download | op-kernel-dev-69385ad9abc34a9051e983f0b62a8f8e472a9037.zip op-kernel-dev-69385ad9abc34a9051e983f0b62a8f8e472a9037.tar.gz |
staging: lustre: Replace typedef with struct
As per the Linux kernel coding style guidelines, using typedef for a
structure type is not recommended. Hence, occurences of typedefs have
been removed. To find the occurences of the structures grep was used
and no uses were found.
Coccinelle script:
@r1@
type T;
@@
typedef struct { ... } T;
@script:python c1@
T2;
T << r1.T;
@@
coccinelle.T2=T;
@@
type r1.T;
identifier c1.T2;
@@
-typedef
struct
+ T2
{ ... }
-T
;
Signed-off-by: Gargi Sharma <gs051095@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c')
0 files changed, 0 insertions, 0 deletions