From: Jeremiah Mahler Date: Sat, 22 Nov 2014 07:42:35 +0000 (-0800) Subject: can: eliminate banner[] variable and switch to pr_info() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~33^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b111b78c6ea52690a47f16922cb41c78f08dd298;p=pandora-kernel.git can: eliminate banner[] variable and switch to pr_info() Several CAN modules use a design pattern with a banner[] variable at the top which defines a string that is used once during init to print the banner. The 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. Signed-off-by: Jeremiah Mahler Acked-by: Oliver Hartkopp Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed