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)
committerAlex Shi <alex.shi@linaro.org>
Mon, 11 May 2015 09:36:25 +0000 (17:36 +0800)
commite2671233fa7df020b7ea720db33f1237c418f3ab
tree9ec0efbc4540303c917bfceda39d792e7d8acc6b
parent92fe27ba3d29df5971bec2f2b55ff350194772a4
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.

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>
(cherry picked from commit f0f65a95de2840db3fa61c953dca267e7b773168)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
drivers/staging/zram/zram_drv.c