]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: fjes: Use resource_size
authorVaishali Thakkar <vaishali.thakkar@oracle.com>
Mon, 11 Apr 2016 10:28:17 +0000 (15:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 19:00:04 +0000 (15:00 -0400)
commite0897ae3ec720b1653d4ff9aaf48b532c276ab63
treee2630d9be8be28558628c9f49f4d1bd0a24fa8f8
parent3484f44c0873652ad16a69a0f20088343a281982
net: fjes: Use resource_size

Use the function resource_size instead of explicit computation.

Problem found using Coccinelle.

Signed-off-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fjes/fjes_main.c