commit | 2665c2995d6a6026cfc9ec118908dfccb74fb5e0 | [log] [tgz] |
---|---|---|
author | Frank Schaefer <fschaefer.oss@googlemail.com> | Thu Dec 27 19:02:43 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Jan 05 01:09:39 2013 -0200 |
tree | ef731f712fc9c95dfdf869434c7ffd37abce892f | |
parent | d3829fadc4611e96aa360b8ead5adefdf61f45ea [diff] |
[media] em28xx: simplify device state tracking DEV_INITIALIZED of enum em28xx_dev_state state is used nowhere and there is no need for DEV_MISCONFIGURED, so remove this enum and use a boolean field 'disconnected' in the device struct instead. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>