misc: sram: move reserved block logic out of probe function
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Mon, 1 Jun 2015 12:29:59 +0000 (15:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 00:03:56 +0000 (17:03 -0700)
commita0a5be0b36be31e644a10c8da89d7280a9b9384c
tree73f1f50637ed44f489a5116965ab620b98220295
parent665d82fbbccdb5997ddcff3536f2cad5b1634462
misc: sram: move reserved block logic out of probe function

No functional change, but now previously overloaded sram_probe() is
greatly simplified and perceptible, reserved regions logic also has
its own space.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sram.c