Tag: a6b3db2c837a2db359bf7f846346680883dbb032

ASoC: wm5102: Use put_unaligned_be16

Author: Vaishali Thakkar <vthakkar1994@gmail.com> This patch introduces the use of function put_unaligned_be16. This is done using Coccinelle and semantic patch used is as follows: @a@ typedef u16, __be16, uint16_t; {u16,__be16,uint16_t} e16; identifier tmp; expression ptr; expression y,e; type T; @@ – tmp = cpu_to_be16(y); ? tmp = e @@ type T; identifier a.tmp; @@ – …

Continue reading