Skip to content
Snippets Groups Projects
Commit 43549ad7 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[SERIAL] serial_cs: Use clean up multiport card detection


- Use ARRAY_SIZE() instead of home grown based version.
- use parse->manfid.card rather than le16_to_cpu(buf[1]) -
  manfid.card is already converted to this format.
- use info->prodid in subsequent tests rather than
  parse->manfid.card.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent de6cc84f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment