]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: gdm724x: Replace random_ether_addr with eth_random_addr
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 1 Mar 2016 19:43:22 +0000 (01:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Mar 2016 22:48:04 +0000 (14:48 -0800)
commit4e4acff7346e87f9d1282b1828198bcb5a6db8bf
treea85dc1a4f7cce40b2fe465b63c81943d79e66f0f
parent6c6baa841662e1ab46353fee3c618d9f347ce06e
Staging: gdm724x: Replace random_ether_addr with eth_random_addr

The macro random_ether_addr is calling the function eth_random_addr.
Therefore, the call to random_ether_addr can be replaced with
eth_random_addr.
Done using coccinelle:

@@
expression addr;
@@
- random_ether_addr(addr);
+ eth_random_addr(addr);

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_lte.c