zram: remove zram_sysfs file (v2)
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Sat, 22 Jun 2013 00:21:18 +0000 (03:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 22:59:03 +0000 (15:59 -0700)
commit9b3bb7abcdf2df0f1b2657e6cbc9d06bc2b3b36f
treeed10f3a6d7e26d16bc480416ac5869e3b6ed1237
parent95cd1860b8cddb69db91908b548294b567937551
zram: remove zram_sysfs file (v2)

Move zram sysfs code to zram drv and remove zram_sysfs.c
file. This gives ability to make static a number of previously
exported zram functions, used from zram sysfs, e.g. internal zram
zram_meta_alloc/free(). We also can drop zram_drv wrapper
functions, used from zram sysfs:
e.g. zram_reset_device()/__zram_reset_device() pair.

v2: as suggested by Greg K-H, move MODULE description to the
bottom of the file.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/Makefile
drivers/staging/zram/zram_drv.c
drivers/staging/zram/zram_drv.h
drivers/staging/zram/zram_sysfs.c [deleted file]