]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: vt6656: device.h Remove typedef enum __device_init_type.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 3 Nov 2013 17:40:51 +0000 (17:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2013 00:31:00 +0000 (16:31 -0800)
commit302433daf47aeb7d21d66e55fb84d6a8fffd4aed
treea116453bfbc767d98c06f8e2d2cb4382f5f76ad1
parenta72f8beeedc97b776799a1a80c04eb5312980c9b
staging: vt6656: device.h Remove typedef enum __device_init_type.

Since typedef enum __device_init_type is only ever called
in one state.

Remove the typedef from main_usb.c:device_init_registers and
replace with macro values. The other values may be needed later.

Apply cold value to sInitCmd.byInitClass.

Remove if braces and correct formatting within.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/main_usb.c