From: Andy Shevchenko Date: Fri, 19 Apr 2013 11:35:45 +0000 (+0300) Subject: staging: rts5129: re-use kbasename() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a8d2ccdcff80c2a0aa2367cc4855c7f57e13a06;p=pandora-kernel.git staging: rts5129: re-use kbasename() The custom filename function mostly repeats the kernel's kbasename. This patch simplifies it. The updated filename() will not check for the '\' in the filenames. It seems redundant in Linux. The __FILE__ macro always defined if we compile an existing file. Thus, NULL check is not needed there as well. Signed-off-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed