staging: zram: simplify num_devices paramater
authorDavidlohr Bueso <davidlohr.bueso@hp.com>
Wed, 2 Jan 2013 05:24:13 +0000 (21:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 07:45:27 +0000 (23:45 -0800)
commitca3d70bd68455133eabcb8a0ae1b40254d87188b
tree5c88a11645905844ad1972ce33ff60208d4313a3
parent955e7da82d8cc917a2c604c782b525dec3466921
staging: zram: simplify num_devices paramater

Simplify dealing with num_devices when initializing zram.
Also cleanup some of the output messages.

Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/zram_drv.c