Nitin Gupta de1a21a0f1 Staging: ramzswap: Return proper error code on device create failure
Currently, we return 0 if create_device() fails and 1 otherwise.
Now, proper error code is returned from create_device() and the
same is propagated as module error code from ramzswap_init().

Also added some cleanups for ramzswap_init(), improving function
structure.

Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-03 16:42:53 -08:00
..
2010-02-23 00:39:00 -05:00
2010-02-10 12:07:28 -07:00
2009-12-15 08:53:34 -08:00
2010-01-29 21:03:09 +01:00
2010-02-11 13:59:42 -08:00
2009-12-09 17:14:38 +11:00
2010-02-02 18:11:21 -08:00
2010-02-03 16:55:20 -05:00
2009-12-15 08:53:25 -08:00
2010-02-16 15:11:10 -08:00
2010-02-22 19:50:34 -08:00
2010-01-13 10:01:35 +00:00