From: David Howells Date: Fri, 12 Apr 2013 17:54:43 +0000 (+0100) Subject: ppc: Clean up scanlog X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~74^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c23782091dc98221dc149e844ab128771a78ea2;p=pandora-kernel.git ppc: Clean up scanlog Clean up the pseries scanlog driver's use of procfs: (1) Don't need to save the proc_dir_entry pointer as we have the filename to remove with. (2) Save the scan log buffer pointer in a static variable (there is only one of it) and don't save it in the PDE (which doesn't have a destructor). Signed-off-by: David Howells cc: Benjamin Herrenschmidt cc: Paul Mackerras cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Al Viro --- Reading git-diff-tree failed