ethernet: amd: use pr_info_once()
authorVarka Bhadram <varkabhadram@gmail.com>
Thu, 11 Sep 2014 07:20:50 +0000 (12:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2014 22:02:41 +0000 (18:02 -0400)
commite9c3f99f8b176369929b44e6c80043ab1036009f
tree6aaaa30e7a7ff827938e73095a09e481c5bac6d3
parent2d8f7e2c8a63131828e8d4e2d98835399f27319e
ethernet: amd: use pr_info_once()

It will use pr_info_one() to print the version info of the
driver in probe function only once. No need to use the static
variable here.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/au1000_eth.c