zram: remove zram_sysfs file (v2)
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Sat, 22 Jun 2013 00:21:18 +0000 (03:21 +0300)
committerAlex Shi <alex.shi@linaro.org>
Mon, 11 May 2015 09:34:44 +0000 (17:34 +0800)
commitc5544682efcda470167318ac56559f023e578b09
tree1c04e536e16193ea87ec6b149b768182eca725a0
parentdc18dd5cb1f638af5fc0328677b5d96328769ca3
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>
(cherry picked from commit 9b3bb7abcdf2df0f1b2657e6cbc9d06bc2b3b36f)
Signed-off-by: Alex Shi <alex.shi@linaro.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]