Commit 4a089668 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: em28xx-cards: rework the em28xx probing code

There is a complex loop there with identifies the em28xx
endpoints. It has lots of identations inside, and big names,
making harder to understand.

Simplify it by moving the main logic into a static function.

While here, rename "interface" var to "intf".
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 0086085b
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment