From: Konrad Rzeszutek Wilk Date: Tue, 30 Apr 2013 22:26:51 +0000 (-0700) Subject: frontswap: make frontswap_init use a pointer for the ops X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~88^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e01c968db3d0aebd48e31db15f24516b03128df;p=pandora-kernel.git frontswap: make frontswap_init use a pointer for the ops This simplifies the code in the frontswap - we can get rid of the 'backend_registered' test and instead check against frontswap_ops. [v1: Rebase on top of 703ba7fe5e0 (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