]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: sm750fb: remove typedef for enum in ddk750_power.{c,h}
authorKeerthi Reddy <keerthigd4990@gmail.com>
Mon, 2 Oct 2017 09:31:14 +0000 (15:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2017 16:12:04 +0000 (18:12 +0200)
commit66df2f851adfb9284f0369139182abb9f77d9793
treec724c6361fac6413fa0bece1af2512d689776fcb
parenta68244e2a7f6b1099daea785baecc6af0e9a715e
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>
drivers/staging/sm750fb/ddk750_power.c
drivers/staging/sm750fb/ddk750_power.h