Revert "staging: zram: Add auto loading of module if user opens /dev/zram."
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Sep 2013 22:41:31 +0000 (15:41 -0700)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:57 +0000 (07:27 +0200)
commite64e6b987027a4d0708265a4bd4f1dffa11810a9
tree622d58652c2b7cabdba771ccb431821e3e683d8e
parent2480895fa4c57c626fe6a03d866287458d004e3b
Revert "staging: zram: Add auto loading of module if user opens /dev/zram."

This reverts commit c70bda992c12e593e411c02a52e4bd6985407539.

It's incorrect, Kay writes:
Please just remove it. "devname" is meant to be used for
single-instance devices with a static dev_t, never for things
like zramX.

It will not do anything useful here, it does nothing really
without a statically assigned dev_t, and it should not be used
for devices of this kind anyway.

Change-Id: Ia1503b3cff95e5dd31c934f420025ea252f09129
Reported-by: Tom Gundersen <teg@jklm.no>
Reported-by: Kay Sievers <kay@vrfy.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/zram_drv.c