]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/net/wireless/ipw2x00/ipw2200.c
ipw2200: le*_add_cpu conversion
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 12 Feb 2008 23:06:12 +0000 (00:06 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:15 +0000 (15:37 -0500)
commit5c05863d0346c025a712b57622efe7828b29758e
treeff1b1c6a98f781ff026178082f0ea8d2efdaf826
parent19ae3a6a96859c0e64d9dd5d35515a6f23a9cad8
ipw2200: le*_add_cpu conversion

replace all:
little_endian_variable = cpu_to_leX(leX_to_cpu(little_endian_variable) +
expression_in_cpu_byteorder);
with:
leX_add_cpu(&little_endian_variable, expression_in_cpu_byteorder);
generated with semantic patch

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c