]> 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)
commitf7072b10880312fe9acc7e60d68e4a9c796c1665
tree71a7511fcd058de9cc1392548b69fbcd78f92f7c
parentb842e8e089f75dcd7a6b27f5a842ae48936a7a11
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