]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6655: remove typedef enum __device_init_type
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 28 Jul 2014 22:26:25 +0000 (23:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jul 2014 00:08:20 +0000 (17:08 -0700)
commit5ce638d81a2de99f2a651e2dd714826900aecf81
tree71a7511fcd058de9cc1392548b69fbcd78f92f7c
parent1908b062006cdf6c6497406fa010f972c7045b57
staging: vt6655: remove typedef enum __device_init_type

The value is either DEVICE_INIT_COLD or DEVICE_INIT_DXPL making no
difference to code.

Remove typedef and remove if statement in device_init_registers
pulling the code in.

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