]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit188101b5767510a1d0f50edee1559888803cf923
tree6aaaa30e7a7ff827938e73095a09e481c5bac6d3
parent3cd39f139fd7cbacc17a486cadaf3e460fc21f63
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