mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
media: Drop unused assignments from pnp_device_id array
Explicitly assigning .driver_data in drivers that don't use this member is silly and a bit irritating. Drop it. Also simplify the list terminator entry to be just empty to match what most other device_id tables do. While touching these arrays convert them to use named initializers, empty list terminators and no comma after the terminator. There is no changed semantic, not even a change in the compiled result. 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
479aa6fa8c
commit
2cf8593cc8
5 changed files with 11 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue