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>
Showing
- drivers/staging/zram/Makefile 1 addition, 1 deletiondrivers/staging/zram/Makefile
- drivers/staging/zram/zram_drv.c 349 additions, 167 deletionsdrivers/staging/zram/zram_drv.c
- drivers/staging/zram/zram_drv.h 0 additions, 10 deletionsdrivers/staging/zram/zram_drv.h
- drivers/staging/zram/zram_sysfs.c 0 additions, 209 deletionsdrivers/staging/zram/zram_sysfs.c
Loading
Please register or sign in to comment