]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: atheros: atl1: use offset_in_page() macro
authorGeliang Tang <geliangtang@gmail.com>
Sat, 22 Apr 2017 01:21:10 +0000 (09:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 17:58:01 +0000 (13:58 -0400)
commit4cc17bcf7f39088b5b68e3689f1653184c7e7ad4
tree037d72a2be8ee139744322ddb5bd8d45de0e3faa
parent4dd42b94b4d25c0f99ee9ba0748dd315653b6a34
net: atheros: atl1: use offset_in_page() macro

Use offset_in_page() macro instead of open-coding.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atlx/atl1.c