Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce106049 authored by Andrew Morton's avatar Andrew Morton Committed by David Woodhouse
Browse files

[MTD] Tidy bitrev usage in rtc_from4.c

parent fc029194
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ static int rtc_from4_correct_data(struct mtd_info *mtd, const u_char *buf, u_cha
	/* Read the syndrom pattern from the FPGA and correct the bitorder */
	rs_ecc = (volatile unsigned short *)(rtc_from4_fio_base + RTC_FROM4_RS_ECC);
	for (i = 0; i < 8; i++) {
		ecc[i] = byte_rev_table[(*rs_ecc) & 0xFF];
		ecc[i] = bitrev8(*rs_ecc);
		rs_ecc++;
	}