Staging: sm750fb: fix do not add new typedefs warning
authorMihaela Muraru <mihaela.muraru21@gmail.com>
Thu, 6 Oct 2016 08:07:44 +0000 (11:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:24:18 +0000 (10:24 +0200)
commit9872fa751e0bad862161c442d44b7ea597e23676
treee908e11726e526bb3976321492d07751b3e13987
parente0cb35095753c038f42d1b6bf68c4cd063b3fd21
Staging: sm750fb: fix do not add new typedefs warning

This patch fixes the checkpatch.pl warning: "WARNING: do not add new
typedefs". Hiding a variables of type 'struct' is not always a good
idea,because when we passing them as parameters we tempt to forget that
in this proces we work with  stack memory and allocatting struct on
stack is something that we should manage carefuly.

It is also delete the '_t' from the name of the structs and treat a line
over 80 character issue in ddk750_mode.c, that appear after my modification.

Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c
drivers/staging/sm750fb/ddk750_chip.h
drivers/staging/sm750fb/ddk750_mode.c
drivers/staging/sm750fb/sm750_hw.c