From: Jeremiah Mahler Date: Wed, 3 Dec 2014 08:44:04 +0000 (-0800) Subject: can: slcan/vcan: eliminate banner[] variable, switch to pr_info() X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~33^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace9bb228de3ef5752d6aa8e17c84a8488a26346;p=pandora-kernel.git can: slcan/vcan: eliminate banner[] variable, switch to pr_info() Several can modules in drivers/net/can use a banner[] variable at the top which defines a string that is used once during init. This string is also embedded with KERN_INFO which makes it printk() specific. Improve the code by eliminating the banner[] variable and moving the string to where it is printed. Then switch from printk(KERN_INFO to pr_info() for the lines that were changed. This patch is similar to [1] which was applied to net/can. [1]: https://lkml.org/lkml/2014/11/22/10 Signed-off-by: Jeremiah Mahler Acked-by: Oliver Hartkopp Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed