mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
media: ite-cir: Use an enum for the different supported device types
Instead of using magic constants define an enum that that makes it easier to keep .driver_data and the array of different types in sync. While touching the pnp_device_id array simplify the list terminator and use named initializers which better show which struct members are actually assigned to. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Signed-off-by: Sean Young <sean@mess.org>
This commit is contained in:
parent
2cf8593cc8
commit
253355887a
1 changed files with 18 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue