]> git.karo-electronics.de Git - linux-beck.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)
commit9f34de35d57c75b769c8ee48ab88ef8bdb7d1bd4
tree71a7511fcd058de9cc1392548b69fbcd78f92f7c
parentfbf515b81569585c8f404bc12fbcc59e44fdcd85
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