From: Konrad Rzeszutek Wilk Date: Tue, 30 Apr 2013 22:26:57 +0000 (-0700) Subject: cleancache: Make cleancache_init use a pointer for the ops X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~88^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=833f8662af9659508afc3cb80f09138eade378e2;p=pandora-kernel.git cleancache: Make cleancache_init use a pointer for the ops Instead of using a backend_registered to determine whether a backend is enabled. This allows us to remove the backend_register check and just do 'if (cleancache_ops)' [v1: Rebase on top of b97c4b430b0a (ramster->zcache move] Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Bob Liu Cc: Wanpeng Li Cc: Andor Daam Cc: Dan Magenheimer Cc: Florian Schmaus Cc: Minchan Kim Cc: Stefan Hengelein Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed