[PATCH v3 7/9] misc: sram: simplify probe error path

2015-05-18 Thread Vladimir Zapolskiy
Reserved block logic relies only on information from device tree, there is no need to get and enable device clock in advance, especially because not provided clock is not considered as an error. No functional change. Signed-off-by: Vladimir Zapolskiy --- Changes from v1 to v3: - immediately

[PATCH v3 7/9] misc: sram: simplify probe error path

2015-05-18 Thread Vladimir Zapolskiy
Reserved block logic relies only on information from device tree, there is no need to get and enable device clock in advance, especially because not provided clock is not considered as an error. No functional change. Signed-off-by: Vladimir Zapolskiy vladimir_zapols...@mentor.com --- Changes from