]> 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)
commitd27b0a2d5353a671f5bdc8bd45599ec5ae0296fb
tree6aaaa30e7a7ff827938e73095a09e481c5bac6d3
parentcb186edb85a3f819b331701479ef16b70a3399e4
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