summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/ddk750_power.c
diff options
context:
space:
mode:
authorKeerthi Reddy <keerthigd4990@gmail.com>2017-10-02 15:01:14 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-03 18:12:04 +0200
commit3ec58059d16ba2a9e47c697546e5cb92dbf4f10a (patch)
treec724c6361fac6413fa0bece1af2512d689776fcb /drivers/staging/sm750fb/ddk750_power.c
parent1cd5929ab675b285e2179ec33cb0fef185aaabd1 (diff)
Staging: sm750fb: remove typedef for enum in ddk750_power.{c,h}
Using typedef will hide that 'DPMS_t' is enum. Removing this will make sure that we are actually working with enum. Also it is not a good coding style to use typedef In this commit remove typedef and lowercaser the name 'DPMS_t'. And also drop '_t' which traditionally means typedef. Signed-off-by: Keerthi Reddy <keerthigd4990@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_power.c')
-rw-r--r--drivers/staging/sm750fb/ddk750_power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/ddk750_power.c b/drivers/staging/sm750fb/ddk750_power.c
index 222ae1a06feb..6f82ab05fdb6 100644
--- a/drivers/staging/sm750fb/ddk750_power.c
+++ b/drivers/staging/sm750fb/ddk750_power.c
@@ -2,7 +2,7 @@
#include "ddk750_reg.h"
#include "ddk750_power.h"
-void ddk750_set_dpms(DPMS_t state)
+void ddk750_set_dpms(enum dpms state)
{
unsigned int value;