This eliminates a 1-bit left shift in every single caller,
and makes the inner loop of the CRC computation more efficient.
Renamed crc7 to crc7_be (big-endian) since the interface changed.
Also purged #include <linux/crc7.h> from files that don't use it at all.
Signed-off-by: George Spelvin <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Signed-off-by: John W. Linville <[email protected]>